Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0008936/0.0008936, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.001025/0.001025, allocations: 163.6 kB / 25.45 MB, free: 9.352 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.9545/0.9545, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.695e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003857/0.003884, allocations: 3.098 MB / 302.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.006143, allocations: 1.368 MB / 304.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.006569, allocations: 11.94 kB / 304.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.009234, allocations: 2.666 MB / 306.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.009758, allocations: 186.5 kB / 307 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.01034, allocations: 287.3 kB / 307.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.01201, allocations: 1.821 MB / 309.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.01222, allocations: 87.69 kB / 309.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.01276, allocations: 421.1 kB / 309.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.01307, allocations: 299.2 kB / 309.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.01313, allocations: 44 kB / 310 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.01329, allocations: 71.92 kB / 310 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.01373, allocations: 0.861 MB / 310.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.01408, allocations: 466.1 kB / 311.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.01592, allocations: 2.488 MB / 313.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01592, allocations: 3.938 kB / 313.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.01592, allocations: 0 / 313.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.634e-05/0.01599, allocations: 0 / 313.8 MB, free: 8.715 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00346/0.01945, allocations: 2.793 MB / 316.6 MB, free: 5.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.01949, allocations: 12.02 kB / 316.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.0198, allocations: 299 kB / 316.9 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.02179, allocations: 1.785 MB / 318.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.02189, allocations: 110.7 kB / 318.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.02203, allocations: 44.73 kB / 318.9 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.02256, allocations: 450.3 kB / 319.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.02258, allocations: 0 / 319.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.02261, allocations: 16 kB / 319.3 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.02262, allocations: 12 kB / 319.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.02306, allocations: 331.7 kB / 319.7 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.02636, allocations: 2.549 MB / 322.2 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.02681, allocations: 309 kB / 322.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.02699, allocations: 157.6 kB / 322.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.02702, allocations: 4 kB / 322.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.02705, allocations: 43.16 kB / 322.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.847e-06/0.02705, allocations: 0 / 322.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.00303/0.03008, allocations: 2.353 MB / 325.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.03013, allocations: 85.61 kB / 325.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.03506, allocations: 5.44 MB / 330.6 MB, free: 7.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.03514, allocations: 33.7 kB / 330.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.03583, allocations: 1.168 MB / 331.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.03594, allocations: 166.5 kB / 332 MB, free: 6.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.03605, allocations: 90.14 kB / 332 MB, free: 6.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.03613, allocations: 333.9 kB / 332.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.03636, allocations: 132.9 kB / 332.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.03658, allocations: 225.1 kB / 332.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.037, allocations: 385.5 kB / 333.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.03701, allocations: 0 / 333.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008662/0.03787, allocations: 0.6948 MB / 333.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.0379, allocations: 11.98 kB / 333.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.0379, allocations: 0 / 333.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.03793, allocations: 8 kB / 333.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.03821, allocations: 120.1 kB / 333.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.03822, allocations: 11.98 kB / 333.9 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.0385, allocations: 19.98 kB / 334 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.03853, allocations: 20 kB / 334 MB, free: 4.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008035/0.03933, allocations: 0.9269 MB / 334.9 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.03954, allocations: 282.1 kB / 335.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.04077, allocations: 0.7645 MB / 335.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.04078, allocations: 12 kB / 336 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.04079, allocations: 0 / 336 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.04079, allocations: 3.984 kB / 336 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.04185, allocations: 1.168 MB / 337.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.04185, allocations: 0 / 337.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.0421, allocations: 91.89 kB / 337.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.04236, allocations: 96.72 kB / 337.3 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.04239, allocations: 15.98 kB / 337.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/0.04281, allocations: 0.6342 MB / 338 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.04282, allocations: 3.984 kB / 338 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.04391, allocations: 1.061 MB / 339 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.04444, allocations: 430.1 kB / 339.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.04456, allocations: 15.98 kB / 339.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.04484, allocations: 12 kB / 339.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.04491, allocations: 40.44 kB / 339.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.04494, allocations: 19.98 kB / 339.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003685/0.04862, allocations: 3.966 MB / 343.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04862, allocations: 0 / 343.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.0492, allocations: 207.9 kB / 343.7 MB, free: 10.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007609/0.04996, allocations: 445.4 kB / 344.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.05055, allocations: 358.2 kB / 344.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.05056, allocations: 0 / 344.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.05087, allocations: 203.3 kB / 344.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.05167, allocations: 187 kB / 344.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.05737, allocations: 5.522 MB / 350.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009536/0.05833, allocations: 1.241 MB / 351.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.05868, allocations: 92.48 kB / 351.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.954e-06/0.05868, allocations: 0 / 351.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of Templates: time 0.1661/0.2247, allocations: 36.84 MB / 388.6 MB, free: 35.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 5.679248197935522]