Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 88.52 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 162 kB / 23.95 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.405e-05, allocations: 5.234 kB / 325 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004828/0.004852, allocations: 3.208 MB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.008016, allocations: 1.604 MB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.008247, allocations: 5.188 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.01162, allocations: 2.678 MB / 332.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006597/0.01228, allocations: 237.3 kB / 332.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.01314, allocations: 330 kB / 333.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.01509, allocations: 1.837 MB / 334.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.01531, allocations: 103.3 kB / 335 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.01597, allocations: 424.8 kB / 335.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.01639, allocations: 295.3 kB / 335.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.0165, allocations: 44 kB / 335.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.01673, allocations: 95.89 kB / 335.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.01745, allocations: 0.861 MB / 336.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.01799, allocations: 478 kB / 337.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.02055, allocations: 2.515 MB / 339.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.02055, allocations: 0 / 339.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02055, allocations: 0 / 339.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.02057, allocations: 4 kB / 339.7 MB, free: 6.406 MB / 302.1 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.004146/0.02472, allocations: 2.808 MB / 342.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.02475, allocations: 8.031 kB / 342.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.02524, allocations: 310.9 kB / 342.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.02789, allocations: 1.809 MB / 344.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.02801, allocations: 114.6 kB / 344.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.02819, allocations: 48.73 kB / 344.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.02902, allocations: 447 kB / 345.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.02904, allocations: 7.938 kB / 345.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.02909, allocations: 16 kB / 345.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.0291, allocations: 8 kB / 345.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.02987, allocations: 327.7 kB / 345.6 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.03387, allocations: 2.557 MB / 348.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.03457, allocations: 299.7 kB / 348.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.03493, allocations: 168.4 kB / 348.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.03496, allocations: 4 kB / 348.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.035, allocations: 42.5 kB / 348.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.035, allocations: 0 / 348.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.005218/0.04021, allocations: 2.397 MB / 351 MB, free: 10.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.04028, allocations: 89.59 kB / 351.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006922/0.0472, allocations: 5.457 MB / 356.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.04726, allocations: 37.7 kB / 356.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.04854, allocations: 1.168 MB / 357.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.04871, allocations: 174.5 kB / 357.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.04886, allocations: 86.17 kB / 358 MB, free: 3.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.04902, allocations: 326 kB / 358.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.04938, allocations: 141 kB / 358.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.0498, allocations: 225.1 kB / 358.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.05059, allocations: 377.6 kB / 359.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.05059, allocations: 0 / 359.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00132/0.05191, allocations: 0.7025 MB / 359.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.05193, allocations: 4.25 kB / 359.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.05194, allocations: 8 kB / 359.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.05196, allocations: 7.938 kB / 359.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.05251, allocations: 119.9 kB / 359.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.05253, allocations: 7.938 kB / 359.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.05294, allocations: 15.98 kB / 359.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.05298, allocations: 16 kB / 359.9 MB, free: 1.742 MB / 318.1 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.001128/0.0541, allocations: 0.9154 MB / 360.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.05446, allocations: 290 kB / 361.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.05606, allocations: 0.8074 MB / 362 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.05607, allocations: 4 kB / 362 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.05608, allocations: 4 kB / 362 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.05609, allocations: 11.86 kB / 362 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.05769, allocations: 1.173 MB / 363.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.05769, allocations: 4 kB / 363.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.05817, allocations: 95.88 kB / 363.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.05853, allocations: 84.8 kB / 363.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.05857, allocations: 12 kB / 363.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006802/0.05925, allocations: 0.6421 MB / 364 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.05925, allocations: 0 / 364 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.06116, allocations: 1.096 MB / 365.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.06196, allocations: 430 kB / 365.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.06214, allocations: 12 kB / 365.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.06264, allocations: 23.92 kB / 365.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.06272, allocations: 32.44 kB / 365.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.06276, allocations: 12 kB / 365.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.005125/0.06789, allocations: 3.986 MB / 369.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06789, allocations: 0 / 369.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007046/0.06859, allocations: 204 kB / 369.8 MB, free: 7.832 MB / 334.1 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.001705/0.0703, allocations: 452.8 kB / 370.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000878/0.07117, allocations: 358.2 kB / 370.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.07118, allocations: 0 / 370.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.07168, allocations: 202.7 kB / 370.7 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.07274, allocations: 183.9 kB / 370.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.0803, allocations: 5.361 MB / 376.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.0819, allocations: 1.246 MB / 377.5 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006302/0.08253, allocations: 279.8 kB / 377.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.08284, allocations: 88.48 kB / 377.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.08284, allocations: 0 / 377.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.03304/0.1159, allocations: 15.22 MB / 393.1 MB, free: 0.6211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.785089619457722]