Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0009877/0.0009877, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.0009662/0.0009662, allocations: 167.5 kB / 25.33 MB, free: 8.594 MB / 18.57 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 0.8821/0.8821, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.65e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003857/0.003874, allocations: 4.278 MB / 255.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.005931, allocations: 1.61 MB / 256.9 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.006168, allocations: 11.94 kB / 256.9 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.006451, allocations: 126.7 kB / 257.1 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.007053, allocations: 377.4 kB / 257.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.007336, allocations: 239.5 kB / 257.7 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.008011, allocations: 1.002 MB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.008221, allocations: 150.1 kB / 258.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.008699, allocations: 0.5613 MB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.009036, allocations: 335.1 kB / 259.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.009119, allocations: 100 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.009355, allocations: 207.9 kB / 260 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.009458, allocations: 195.3 kB / 260.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.009641, allocations: 291.3 kB / 260.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.01022, allocations: 0.7046 MB / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01022, allocations: 0 / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01022, allocations: 0 / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.01023, allocations: 0 / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00134/0.01157, allocations: 1.138 MB / 262.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.0116, allocations: 23.86 kB / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.01174, allocations: 124.5 kB / 262.5 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.01218, allocations: 434.2 kB / 262.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.01228, allocations: 123 kB / 263 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.0124, allocations: 68.73 kB / 263.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.01302, allocations: 0.574 MB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.01303, allocations: 3.938 kB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.01307, allocations: 24 kB / 263.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.01308, allocations: 12 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.01349, allocations: 283.6 kB / 264 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.01542, allocations: 2.038 MB / 266 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.01586, allocations: 314.2 kB / 266.3 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.01607, allocations: 147.8 kB / 266.5 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.01609, allocations: 12 kB / 266.5 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01611, allocations: 41.39 kB / 266.5 MB, free: 7.719 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.01611, allocations: 4 kB / 266.5 MB, free: 7.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.00519/0.0213, allocations: 2.467 MB / 269 MB, free: 5.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.02134, allocations: 85.61 kB / 269.1 MB, free: 5.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.0217, allocations: 494.6 kB / 269.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.02174, allocations: 37.7 kB / 269.6 MB, free: 4.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.0219, allocations: 375.5 kB / 270 MB, free: 4.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.02201, allocations: 214.1 kB / 270.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.02213, allocations: 112 kB / 270.3 MB, free: 3.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.02226, allocations: 0.5469 MB / 270.8 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.02244, allocations: 101.2 kB / 270.9 MB, free: 3.207 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.02268, allocations: 239.6 kB / 271.2 MB, free: 2.926 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.02311, allocations: 372.9 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02311, allocations: 4 kB / 271.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006301/0.02374, allocations: 0.4925 MB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.02376, allocations: 8.312 kB / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.02376, allocations: 8 kB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.02393, allocations: 47.59 kB / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.02431, allocations: 159.8 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.02547, allocations: 1.772 MB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.0257, allocations: 28 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.02573, allocations: 27.98 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.02588, allocations: 200.3 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.02598, allocations: 79.66 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.0267, allocations: 0.5417 MB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02671, allocations: 4 kB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02671, allocations: 4 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.02671, allocations: 3.984 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.02836, allocations: 1.283 MB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02836, allocations: 0 / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.02861, allocations: 107.9 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/0.02949, allocations: 339 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.02953, allocations: 19.98 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.0318, allocations: 2.814 MB / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0318, allocations: 0 / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.03322, allocations: 0.9902 MB / 280.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.03338, allocations: 119.5 kB / 280.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.03343, allocations: 15.98 kB / 280.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.03367, allocations: 39.98 kB / 280.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.03376, allocations: 52.55 kB / 280.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.03379, allocations: 16 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.03402, allocations: 339 kB / 281 MB, free: 8.676 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03402, allocations: 0 / 281 MB, free: 8.676 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.03443, allocations: 184.1 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.03462, allocations: 151 kB / 281.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.03525, allocations: 0.5345 MB / 281.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.03526, allocations: 0.625 kB / 281.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.03565, allocations: 466.2 kB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.03603, allocations: 89.81 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.03767, allocations: 1.257 MB / 283.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.03776, allocations: 144.3 kB / 283.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.03793, allocations: 72.64 kB / 283.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.03805, allocations: 48.48 kB / 283.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03805, allocations: 0 / 283.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of Templates: time 0.01196/0.05001, allocations: 10.07 MB / 294 MB, free: 11.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.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: 2.952430361881852]