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.000974/0.000974, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009233/0.0009233, allocations: 147.1 kB / 24.89 MB, free: 8.742 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.9717/0.9717, allocations: 173.4 MB / 201.5 MB, free: 8.746 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.673e-06/1.673e-06, allocations: 0 / 268.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.504e-05, allocations: 6.109 kB / 268.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005229/0.005254, allocations: 4.025 MB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.007267, allocations: 0.8992 MB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.007496, allocations: 12 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.00773, allocations: 99 kB / 273.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.008134, allocations: 194.2 kB / 273.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.008503, allocations: 139.8 kB / 273.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.009181, allocations: 0.7002 MB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.009445, allocations: 148.3 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.009903, allocations: 395 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.01011, allocations: 219.3 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.01017, allocations: 56 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.01022, allocations: 52 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.01029, allocations: 131.4 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.01042, allocations: 223.4 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.01074, allocations: 430.4 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.01074, allocations: 4 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01074, allocations: 0 / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01075, allocations: 0 / 276.2 MB, free: 14.21 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.0007663/0.01152, allocations: 0.776 MB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.01155, allocations: 12.03 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.01164, allocations: 88.8 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.01191, allocations: 249.4 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.01194, allocations: 37.38 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.01199, allocations: 52.38 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.01235, allocations: 0.5182 MB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01236, allocations: 192 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.01238, allocations: 24.38 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01239, allocations: 15.94 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.01254, allocations: 124 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.01376, allocations: 1.216 MB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01397, allocations: 180.9 kB / 279.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.01404, allocations: 76.28 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.01406, allocations: 4.25 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.01408, allocations: 42.55 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.172e-06/0.01409, allocations: 0 / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007161/0.0148, allocations: 493 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.01483, allocations: 81.11 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.01501, allocations: 331.2 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.01503, allocations: 29.7 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.01512, allocations: 264.7 kB / 280.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01518, allocations: 122.9 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01524, allocations: 78.12 kB / 281 MB, free: 9.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.01533, allocations: 354.7 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.01537, allocations: 32.98 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.01545, allocations: 127.2 kB / 281.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.01561, allocations: 205.2 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01561, allocations: 3.938 kB / 281.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002816/0.01589, allocations: 281.8 kB / 282 MB, free: 8.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.0159, allocations: 4 kB / 282 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01591, allocations: 4 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.01616, allocations: 97.73 kB / 282.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01633, allocations: 87.83 kB / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.0176, allocations: 2.593 MB / 284.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01771, allocations: 19.98 kB / 284.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01772, allocations: 11.94 kB / 284.8 MB, free: 5.094 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.01781, allocations: 141.9 kB / 284.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.01786, allocations: 35.91 kB / 285 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.01789, allocations: 51.25 kB / 285 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.0179, allocations: 4 kB / 285 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.0179, allocations: 0 / 285 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0179, allocations: 0 / 285 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.01843, allocations: 0.5696 MB / 285.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01843, allocations: 0 / 285.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.851e-05/0.01853, allocations: 51.97 kB / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.01877, allocations: 109.6 kB / 285.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01878, allocations: 4 kB / 285.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.01992, allocations: 2.608 MB / 288.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01992, allocations: 4 kB / 288.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.02023, allocations: 428.8 kB / 288.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.02027, allocations: 35.75 kB / 288.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.0203, allocations: 11.94 kB / 288.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.02044, allocations: 27.98 kB / 288.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.02048, allocations: 27.94 kB / 288.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.02049, allocations: 4 kB / 288.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.02059, allocations: 140.7 kB / 289 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02059, allocations: 3.938 kB / 289 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.0209, allocations: 116 kB / 289.1 MB, free: 0.5039 MB / 266.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 7.994e-05/0.02098, allocations: 84.42 kB / 289.2 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.08519/0.1062, allocations: 418.1 kB / 289.6 MB, free: 29.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.1062, allocations: 3.062 kB / 289.6 MB, free: 29.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.1076, allocations: 338.7 kB / 290 MB, free: 29.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1079, allocations: 54.7 kB / 290 MB, free: 29.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.109, allocations: 0.8496 MB / 290.9 MB, free: 29.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.715e-05/0.1091, allocations: 115 kB / 291 MB, free: 28.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1092, allocations: 43.19 kB / 291 MB, free: 28.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1093, allocations: 122 kB / 291.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1093, allocations: 1.062 kB / 291.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of Templates: time 0.009068/0.1184, allocations: 4.736 MB / 295.9 MB, free: 28.48 MB / 266.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 -s gbode -gbm=radauIIA3 -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.042008148971945]