Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 112.4 kB / 21.18 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 212.7 kB / 24.49 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 47.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2555, allocations: 49.16 MB / 396.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004327/0.2598, allocations: 4.066 MB / 400.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2613, allocations: 0.9239 MB / 401.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.2615, allocations: 15.56 kB / 401.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.2617, allocations: 93.69 kB / 401.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.262, allocations: 185.9 kB / 401.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.2623, allocations: 141.3 kB / 401.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.2628, allocations: 0.6792 MB / 402.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2631, allocations: 144.5 kB / 402.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.2633, allocations: 270.2 kB / 402.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.2637, allocations: 286.6 kB / 403.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.2637, allocations: 55.06 kB / 403.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.2638, allocations: 59.16 kB / 403.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.2639, allocations: 127 kB / 403.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.2642, allocations: 311.2 kB / 403.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.2647, allocations: 0.6431 MB / 404.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2647, allocations: 0.7969 kB / 404.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2647, allocations: 0 / 404.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2647, allocations: 1.031 kB / 404.3 MB, free: 3.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001282/0.266, allocations: 0.8009 MB / 405.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2661, allocations: 14.2 kB / 405.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.2662, allocations: 105.2 kB / 405.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.2663, allocations: 73.67 kB / 405.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.2667, allocations: 315.3 kB / 405.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.2668, allocations: 38.31 kB / 405.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.2668, allocations: 51.62 kB / 405.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.2676, allocations: 0.4967 MB / 406.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2676, allocations: 1.375 kB / 406.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2676, allocations: 29.64 kB / 406.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.2676, allocations: 12.38 kB / 406.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.2682, allocations: 342.1 kB / 406.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.2706, allocations: 1.662 MB / 408.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.271, allocations: 263.8 kB / 408.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.2712, allocations: 131.5 kB / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2712, allocations: 3.688 kB / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2713, allocations: 42.69 kB / 408.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.2713, allocations: 4 kB / 408.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00171/0.273, allocations: 0.8106 MB / 409.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.273, allocations: 85.23 kB / 409.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.2734, allocations: 391.3 kB / 410 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2734, allocations: 30.64 kB / 410 MB, free: 476 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2736, allocations: 303.2 kB / 410.3 MB, free: 228 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.2737, allocations: 119.8 kB / 410.4 MB, free: 132 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2738, allocations: 67.09 kB / 410.5 MB, free: 92 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.274, allocations: 360.5 kB / 410.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.2742, allocations: 99.36 kB / 410.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.2746, allocations: 193.8 kB / 411.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.2751, allocations: 310.4 kB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2751, allocations: 1.312 kB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009302/0.276, allocations: 446.2 kB / 411.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.276, allocations: 6.562 kB / 411.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.276, allocations: 2.25 kB / 411.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.2764, allocations: 86.81 kB / 412 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.2767, allocations: 79.09 kB / 412 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.2795, allocations: 2.926 MB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.2798, allocations: 16.05 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.2798, allocations: 19.5 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.28, allocations: 167.6 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.2801, allocations: 44.8 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.697e-05/0.2802, allocations: 48.83 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2802, allocations: 3.375 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.2802, allocations: 1.188 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2802, allocations: 1.031 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.2817, allocations: 0.9147 MB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2817, allocations: 1.031 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2819, allocations: 46.81 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002658/0.2822, allocations: 85.12 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2822, allocations: 6.688 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.2848, allocations: 2.926 MB / 419.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2848, allocations: 0 / 419.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2858, allocations: 0.6099 MB / 419.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2859, allocations: 42.83 kB / 419.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.286, allocations: 6.375 kB / 419.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.2863, allocations: 30.36 kB / 419.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.2864, allocations: 35.66 kB / 419.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2864, allocations: 10.78 kB / 420 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000369/0.2868, allocations: 281.5 kB / 420.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 3.938 kB / 420.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000694/0.2875, allocations: 118.4 kB / 420.4 MB, free: 7.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/0.2889, allocations: 1.166 MB / 421.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.29, allocations: 0.5019 MB / 422 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.29, allocations: 0 / 422 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.2906, allocations: 384.2 kB / 422.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.2912, allocations: 61.39 kB / 422.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.2975, allocations: 4.193 MB / 426.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.2981, allocations: 0.8442 MB / 427.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.2983, allocations: 44.53 kB / 427.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.2985, allocations: 177 kB / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2985, allocations: 0 / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.3448, allocations: 9.325 MB / 437 MB, free: 9.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.44, allocations: 8.984 kB / 437 MB, free: 9.359 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i1 in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.689092018001247]