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.001141/0.001141, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001111/0.001111, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.008/1.008, allocations: 173.4 MB / 201.1 MB, free: 9.32 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.423e-06/1.423e-06, allocations: 0 / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.84e-05, allocations: 2.312 kB / 268 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003486/0.003504, allocations: 4.046 MB / 272.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.005011, allocations: 0.8644 MB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.005269, allocations: 11.94 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.005469, allocations: 87.14 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.005776, allocations: 206.2 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.006129, allocations: 135.8 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.006611, allocations: 0.6924 MB / 274.1 MB, free: 324 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.006825, allocations: 147.6 kB / 274.2 MB, free: 168 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.007171, allocations: 395 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.007373, allocations: 227.3 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.007432, allocations: 52 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.007489, allocations: 56 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.007557, allocations: 131.4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.007697, allocations: 211.5 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.008069, allocations: 438.4 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.008072, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008072, allocations: 4 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.008079, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.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.0009112/0.00899, allocations: 0.8969 MB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.009024, allocations: 8.031 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.009126, allocations: 108.5 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.009442, allocations: 308.2 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.009468, allocations: 37.38 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.009528, allocations: 56.33 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.01002, allocations: 0.5461 MB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01003, allocations: 192 / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.01006, allocations: 20.38 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.01007, allocations: 15.94 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.01033, allocations: 194.7 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.01187, allocations: 1.567 MB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.01214, allocations: 218.1 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.01225, allocations: 99.33 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.01228, allocations: 8 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.0123, allocations: 41.58 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.0123, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001044/0.01335, allocations: 0.701 MB / 280.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.01338, allocations: 85.11 kB / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.01365, allocations: 402.6 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01367, allocations: 29.7 kB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.01382, allocations: 342.8 kB / 281.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.01387, allocations: 119 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.01395, allocations: 83.81 kB / 281.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01408, allocations: 0.5157 MB / 282 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.01417, allocations: 52.95 kB / 282.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.01431, allocations: 189.1 kB / 282.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01453, allocations: 251.3 kB / 282.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01454, allocations: 4 kB / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004332/0.01497, allocations: 371.3 kB / 282.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01498, allocations: 4 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01499, allocations: 7.938 kB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.01532, allocations: 111.6 kB / 283 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.0155, allocations: 83.89 kB / 283.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.01725, allocations: 3.858 MB / 286.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01737, allocations: 23.94 kB / 287 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01739, allocations: 15.94 kB / 287 MB, free: 2.645 MB / 266.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.0001208/0.01751, allocations: 188.3 kB / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.01757, allocations: 47.77 kB / 287.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.0176, allocations: 47.27 kB / 287.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01761, allocations: 4 kB / 287.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01761, allocations: 4.031 kB / 287.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01762, allocations: 3.984 kB / 287.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.01835, allocations: 0.8145 MB / 288.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01835, allocations: 0 / 288.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.01844, allocations: 47.92 kB / 288.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.0187, allocations: 103.2 kB / 288.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01872, allocations: 4 kB / 288.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.02029, allocations: 3.873 MB / 292.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02029, allocations: 4.031 kB / 292.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.02074, allocations: 0.5883 MB / 292.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.02078, allocations: 39.69 kB / 292.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.02081, allocations: 12 kB / 292.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.02096, allocations: 31.91 kB / 292.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.02101, allocations: 27.95 kB / 292.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.02103, allocations: 8 kB / 292.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.02119, allocations: 275.1 kB / 293.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02119, allocations: 0 / 293.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.02155, allocations: 116 kB / 293.2 MB, free: 12.09 MB / 282.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.667e-05/0.02164, allocations: 107.2 kB / 293.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.02215, allocations: 0.5536 MB / 293.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.02215, allocations: 4 kB / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.02245, allocations: 463.2 kB / 294.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.02277, allocations: 62.16 kB / 294.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.02405, allocations: 0.8874 MB / 295.3 MB, free: 9.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.02413, allocations: 117.9 kB / 295.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.269e-05/0.02422, allocations: 43.27 kB / 295.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.02428, allocations: 32.48 kB / 295.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02428, allocations: 0 / 295.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of Templates: time 0.006808/0.03109, allocations: 4.527 MB / 300 MB, free: 5.223 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4351804638281465]