Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.0007822, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003724/0.003724, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8317/0.8317, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 3.938 kB / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.026e-05, allocations: 2.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003307/0.003328, allocations: 3.676 MB / 323.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.004664, allocations: 0.8529 MB / 324.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.004826, allocations: 11.94 kB / 324.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.004991, allocations: 99 kB / 324.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.00523, allocations: 194.2 kB / 324.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.005502, allocations: 143.7 kB / 324.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.005934, allocations: 0.7002 MB / 325.4 MB, free: 116 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.006147, allocations: 139.6 kB / 325.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.006432, allocations: 387.1 kB / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006629, allocations: 215.3 kB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.006689, allocations: 56 kB / 326.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.006738, allocations: 52 kB / 326.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.006802, allocations: 135.4 kB / 326.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.006928, allocations: 215.4 kB / 326.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.007355, allocations: 0.6502 MB / 327.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007357, allocations: 0 / 327.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007358, allocations: 0 / 327.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.007364, allocations: 0 / 327.2 MB, free: 14.28 MB / 298.7 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.001004/0.008368, allocations: 0.8086 MB / 328 MB, free: 13.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.008403, allocations: 8.031 kB / 328 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.008491, allocations: 76.45 kB / 328.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.008834, allocations: 305.3 kB / 328.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.008859, allocations: 37.38 kB / 328.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.008908, allocations: 52.33 kB / 328.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.009449, allocations: 0.6231 MB / 329.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.009461, allocations: 192 / 329.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.009491, allocations: 20.38 kB / 329.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.009502, allocations: 15.94 kB / 329.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.009885, allocations: 332.4 kB / 329.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01132, allocations: 1.437 MB / 330.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.01162, allocations: 249.1 kB / 331.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01176, allocations: 129.7 kB / 331.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01178, allocations: 4 kB / 331.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.0118, allocations: 42.81 kB / 331.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.01181, allocations: 0 / 331.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001138/0.01294, allocations: 0.815 MB / 332.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.01298, allocations: 81.11 kB / 332.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.01324, allocations: 373.6 kB / 332.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01325, allocations: 29.7 kB / 332.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01339, allocations: 308 kB / 332.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.01346, allocations: 115 kB / 333 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.01357, allocations: 74.19 kB / 333.1 MB, free: 8.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.01366, allocations: 346.8 kB / 333.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.0138, allocations: 104.9 kB / 333.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.01396, allocations: 195.2 kB / 333.7 MB, free: 7.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01425, allocations: 313.2 kB / 334 MB, free: 7.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01426, allocations: 0 / 334 MB, free: 7.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000481/0.01474, allocations: 445.5 kB / 334.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01475, allocations: 4 kB / 334.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01476, allocations: 4 kB / 334.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.01496, allocations: 81.97 kB / 334.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01513, allocations: 83.83 kB / 334.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.01665, allocations: 2.87 MB / 337.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.01677, allocations: 19.92 kB / 337.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01679, allocations: 16 kB / 337.6 MB, free: 3.336 MB / 298.7 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.0001252/0.01691, allocations: 165.9 kB / 337.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.01696, allocations: 43.72 kB / 337.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.017, allocations: 47.27 kB / 337.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.017, allocations: 4 kB / 337.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.017, allocations: 3.984 kB / 337.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01701, allocations: 0 / 337.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.01775, allocations: 0.7982 MB / 338.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.01775, allocations: 12 kB / 338.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.01785, allocations: 43.97 kB / 338.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.01799, allocations: 81.58 kB / 338.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.018, allocations: 8 kB / 338.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.01935, allocations: 2.871 MB / 341.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01935, allocations: 224 / 341.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.01987, allocations: 0.606 MB / 342.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.01991, allocations: 43.69 kB / 342.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01993, allocations: 11.98 kB / 342.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.02008, allocations: 27.98 kB / 342.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.02013, allocations: 31.89 kB / 342.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.02014, allocations: 4 kB / 342.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.02031, allocations: 263.2 kB / 342.6 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02031, allocations: 0 / 342.6 MB, free: 14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.02064, allocations: 120 kB / 342.7 MB, free: 13.88 MB / 314.7 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 9.857e-05/0.02074, allocations: 111.1 kB / 342.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005236/0.02126, allocations: 0.4932 MB / 343.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02126, allocations: 0 / 343.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.02156, allocations: 377.7 kB / 343.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.02186, allocations: 53.36 kB / 343.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.02282, allocations: 0.9177 MB / 344.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.02297, allocations: 234.2 kB / 344.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.02303, allocations: 32.5 kB / 344.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02303, allocations: 0 / 344.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Templates: time 0.006886/0.02992, allocations: 8.996 MB / 353.9 MB, free: 2.566 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.759039745666087]