Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001626/0.001626, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002008/0.002008, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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.521/1.521, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 52.15 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005108/0.2498, allocations: 3.433 MB / 424.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.2523, allocations: 1.473 MB / 425.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.2526, allocations: 8 kB / 425.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.2557, allocations: 2.663 MB / 428.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.2562, allocations: 174.7 kB / 428.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.257, allocations: 306.2 kB / 428.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.2591, allocations: 1.794 MB / 430.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.2593, allocations: 99.28 kB / 430.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.2597, allocations: 309 kB / 431.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.2602, allocations: 350.8 kB / 431.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.2603, allocations: 48 kB / 431.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.2604, allocations: 87.97 kB / 431.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.2611, allocations: 0.8491 MB / 432.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008037/0.2619, allocations: 0.9307 MB / 433.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.2646, allocations: 2.631 MB / 436 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2646, allocations: 0 / 436 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.126e-05/0.2646, allocations: 4 kB / 436 MB, free: 15.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.2646, allocations: 0 / 436 MB, free: 15.92 MB / 350.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.004225/0.2688, allocations: 2.903 MB / 438.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2689, allocations: 8.031 kB / 438.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.2693, allocations: 295 kB / 439.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.2719, allocations: 1.846 MB / 441 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.2719, allocations: 55.27 kB / 441.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.2721, allocations: 59.86 kB / 441.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.2729, allocations: 391 kB / 441.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2729, allocations: 3.938 kB / 441.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.273, allocations: 20 kB / 441.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.273, allocations: 8 kB / 441.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.2737, allocations: 327.8 kB / 441.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.2782, allocations: 2.903 MB / 444.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.2788, allocations: 304.5 kB / 445.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.2792, allocations: 166.2 kB / 445.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2792, allocations: 11.98 kB / 445.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2792, allocations: 50.36 kB / 445.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.2792, allocations: 0 / 445.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005298/0.2845, allocations: 2.452 MB / 447.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2846, allocations: 81.55 kB / 447.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/0.2914, allocations: 5.431 MB / 453.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.2915, allocations: 33.7 kB / 453.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.2927, allocations: 1.211 MB / 454.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2929, allocations: 174.5 kB / 454.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.293, allocations: 94.2 kB / 454.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2932, allocations: 326 kB / 455.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.2935, allocations: 137 kB / 455.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.2939, allocations: 229.6 kB / 455.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.2946, allocations: 380.3 kB / 455.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2946, allocations: 7.938 kB / 455.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001441/0.2961, allocations: 0.6974 MB / 456.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2961, allocations: 8 kB / 456.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2961, allocations: 0 / 456.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2961, allocations: 4 kB / 456.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.2967, allocations: 119.8 kB / 456.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2967, allocations: 8 kB / 456.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.2972, allocations: 15.98 kB / 456.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.2972, allocations: 20 kB / 456.7 MB, free: 10.77 MB / 366.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.001225/0.2985, allocations: 0.9347 MB / 457.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.2988, allocations: 282.1 kB / 457.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.3004, allocations: 0.7863 MB / 458.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3004, allocations: 4 kB / 458.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3004, allocations: 3.984 kB / 458.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3004, allocations: 8 kB / 458.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.3022, allocations: 1.465 MB / 460.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3022, allocations: 3.938 kB / 460.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.3027, allocations: 99.81 kB / 460.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/0.303, allocations: 92.73 kB / 460.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.3031, allocations: 15.98 kB / 460.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006192/0.3037, allocations: 0.6383 MB / 461 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3037, allocations: 0 / 461 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.3055, allocations: 1.086 MB / 462.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007782/0.3063, allocations: 0.4914 MB / 462.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.3065, allocations: 19.92 kB / 462.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.3069, allocations: 12 kB / 462.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.307, allocations: 36.38 kB / 462.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.307, allocations: 19.98 kB / 462.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005033/0.3121, allocations: 3.97 MB / 466.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3121, allocations: 0 / 466.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007438/0.3128, allocations: 200 kB / 466.9 MB, free: 488 kB / 366.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.001478/0.3143, allocations: 420.5 kB / 467.3 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008711/0.3152, allocations: 368.9 kB / 467.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3152, allocations: 0 / 467.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.3156, allocations: 202.4 kB / 467.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3167, allocations: 195.3 kB / 468 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.3242, allocations: 5.477 MB / 473.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.3259, allocations: 1.814 MB / 475.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.3265, allocations: 271.5 kB / 475.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.3267, allocations: 95.42 kB / 475.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3267, allocations: 0 / 475.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of Templates: time 0.03484/0.3616, allocations: 15.72 MB / 491.4 MB, free: 8.062 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.9022128423675895]