Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001848/0.001848, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002335/0.002335, allocations: 216.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2371, allocations: 53.36 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005568/0.2427, allocations: 3.486 MB / 435.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.2459, allocations: 1.683 MB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.2462, allocations: 8 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.2497, allocations: 2.667 MB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008071/0.2505, allocations: 226.5 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.2514, allocations: 323.1 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002421/0.2538, allocations: 1.821 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.254, allocations: 104.4 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.2546, allocations: 321 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/0.2551, allocations: 358.7 kB / 442.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.2552, allocations: 44 kB / 442.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.2555, allocations: 91.97 kB / 442.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.2561, allocations: 0.853 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.2569, allocations: 0.9385 MB / 444.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.2595, allocations: 2.654 MB / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2595, allocations: 0 / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2595, allocations: 0 / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.589e-05/0.2595, allocations: 0 / 447.2 MB, free: 7.348 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.004158/0.2637, allocations: 2.84 MB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2637, allocations: 15.98 kB / 450 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.2641, allocations: 306.9 kB / 450.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.2669, allocations: 1.806 MB / 452.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.267, allocations: 110.7 kB / 452.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.2672, allocations: 51.92 kB / 452.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.2679, allocations: 391 kB / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2679, allocations: 0 / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.2679, allocations: 16 kB / 452.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.268, allocations: 12 kB / 452.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.2687, allocations: 335.7 kB / 453 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.273, allocations: 2.85 MB / 455.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.2737, allocations: 308.6 kB / 456.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.274, allocations: 156.8 kB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.2741, allocations: 7.984 kB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2741, allocations: 54.97 kB / 456.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.774e-06/0.2741, allocations: 0 / 456.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004862/0.279, allocations: 2.39 MB / 458.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.279, allocations: 85.55 kB / 458.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006499/0.2855, allocations: 5.455 MB / 464.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.2856, allocations: 33.7 kB / 464.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.2868, allocations: 1.192 MB / 465.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.287, allocations: 170.5 kB / 465.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2871, allocations: 98.08 kB / 465.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2873, allocations: 330 kB / 466.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.2876, allocations: 136.9 kB / 466.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.288, allocations: 225 kB / 466.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.2888, allocations: 380.3 kB / 466.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2888, allocations: 3.938 kB / 466.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001223/0.29, allocations: 0.6972 MB / 467.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.29, allocations: 12.25 kB / 467.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.29, allocations: 0 / 467.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.29, allocations: 4 kB / 467.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.2905, allocations: 119.9 kB / 467.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2905, allocations: 11.94 kB / 467.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.291, allocations: 12 kB / 467.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.291, allocations: 20 kB / 467.7 MB, free: 2.395 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.0011/0.2921, allocations: 0.927 MB / 468.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.2924, allocations: 286.1 kB / 468.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.2939, allocations: 0.7943 MB / 469.7 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2939, allocations: 4 kB / 469.7 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2939, allocations: 0 / 469.7 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2939, allocations: 3.984 kB / 469.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.2957, allocations: 1.453 MB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2957, allocations: 3.938 kB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.2961, allocations: 95.88 kB / 471.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.2965, allocations: 96.72 kB / 471.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.2965, allocations: 15.98 kB / 471.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/0.2971, allocations: 0.6382 MB / 472 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2971, allocations: 0 / 472 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2989, allocations: 1.091 MB / 473.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/0.2998, allocations: 430 kB / 473.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.2999, allocations: 8 kB / 473.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.3004, allocations: 23.98 kB / 473.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.3005, allocations: 28.38 kB / 473.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3005, allocations: 19.98 kB / 473.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004751/0.3053, allocations: 3.994 MB / 477.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3053, allocations: 0 / 477.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000674/0.3059, allocations: 200 kB / 477.8 MB, free: 8.195 MB / 382.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.001583/0.3075, allocations: 422.6 kB / 478.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.3083, allocations: 364.8 kB / 478.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3083, allocations: 0 / 478.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.3088, allocations: 202.3 kB / 478.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3098, allocations: 198.7 kB / 479 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.3171, allocations: 5.507 MB / 484.5 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.3188, allocations: 1.821 MB / 486.3 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.3193, allocations: 275.8 kB / 486.6 MB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.3196, allocations: 91.42 kB / 486.7 MB, free: 15.42 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3196, allocations: 0 / 486.7 MB, free: 15.42 MB / 398.1 MB Notification: Performance of Templates: time 0.03285/0.3524, allocations: 15.94 MB / 0.4908 GB, free: 15.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.8947987670544535]