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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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 0.001794/0.001794, allocations: 59.91 kB / 376.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 53.32 MB / 430.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005192/0.269, allocations: 3.462 MB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.2719, allocations: 1.656 MB / 435.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2722, allocations: 8 kB / 435.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.2754, allocations: 2.671 MB / 438 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.276, allocations: 222.6 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.2768, allocations: 322.6 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.2788, allocations: 1.817 MB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2791, allocations: 99.97 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004747/0.2795, allocations: 317 kB / 440.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.28, allocations: 358.7 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.2801, allocations: 44 kB / 441.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2803, allocations: 91.97 kB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006827/0.281, allocations: 0.853 MB / 442.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007797/0.2818, allocations: 0.9385 MB / 443 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.2844, allocations: 2.654 MB / 445.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2844, allocations: 0 / 445.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2844, allocations: 0 / 445.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.2844, allocations: 4 kB / 445.7 MB, free: 8.113 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.004323/0.2887, allocations: 2.911 MB / 448.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2888, allocations: 8.031 kB / 448.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.2893, allocations: 314.8 kB / 448.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.2918, allocations: 1.858 MB / 450.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.2919, allocations: 63.19 kB / 450.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.2921, allocations: 51.92 kB / 450.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.2928, allocations: 391 kB / 451.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2928, allocations: 4 kB / 451.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.2929, allocations: 12 kB / 451.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2929, allocations: 8 kB / 451.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.2936, allocations: 335.7 kB / 451.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.2977, allocations: 2.9 MB / 454.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.2984, allocations: 309 kB / 454.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.2987, allocations: 161.6 kB / 455 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.2987, allocations: 4 kB / 455 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2988, allocations: 39.09 kB / 455 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.2988, allocations: 0 / 455 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005725/0.3045, allocations: 2.48 MB / 457.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3046, allocations: 81.55 kB / 457.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006965/0.3115, allocations: 5.455 MB / 463 MB, free: 6.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.829e-05/0.3116, allocations: 41.73 kB / 463.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.3127, allocations: 1.188 MB / 464.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3129, allocations: 178.5 kB / 464.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3131, allocations: 86.2 kB / 464.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3132, allocations: 326 kB / 464.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.3136, allocations: 137.1 kB / 465 MB, free: 4.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.3139, allocations: 221.7 kB / 465.2 MB, free: 4.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.3147, allocations: 380.3 kB / 465.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3147, allocations: 3.938 kB / 465.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001403/0.3161, allocations: 0.7011 MB / 466.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3161, allocations: 4 kB / 466.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3161, allocations: 7.938 kB / 466.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3161, allocations: 4 kB / 466.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.3167, allocations: 119.9 kB / 466.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3167, allocations: 16.17 kB / 466.4 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.3171, allocations: 23.94 kB / 466.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3171, allocations: 16 kB / 466.4 MB, free: 2.906 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.001077/0.3182, allocations: 0.9153 MB / 467.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.3185, allocations: 286.1 kB / 467.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.32, allocations: 0.802 MB / 468.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.32, allocations: 4 kB / 468.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.32, allocations: 4 kB / 468.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.3201, allocations: 0 / 468.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3218, allocations: 1.477 MB / 469.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3218, allocations: 3.938 kB / 469.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.3222, allocations: 91.88 kB / 470 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.3226, allocations: 96.7 kB / 470.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.3227, allocations: 15.98 kB / 470.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006217/0.3233, allocations: 0.6343 MB / 470.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3233, allocations: 4.031 kB / 470.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.325, allocations: 1.086 MB / 471.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/0.3258, allocations: 0.4991 MB / 472.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.326, allocations: 12 kB / 472.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3265, allocations: 19.98 kB / 472.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.3266, allocations: 32.39 kB / 472.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.3267, allocations: 15.98 kB / 472.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005615/0.3323, allocations: 3.986 MB / 476.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3323, allocations: 0 / 476.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009142/0.3332, allocations: 208 kB / 476.6 MB, free: 8.59 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.001623/0.3348, allocations: 427.6 kB / 477 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009521/0.3358, allocations: 356.9 kB / 477.4 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3358, allocations: 4.5 kB / 477.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.3363, allocations: 210.3 kB / 477.6 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3375, allocations: 186.6 kB / 477.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009242/0.3467, allocations: 5.674 MB / 483.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.3489, allocations: 1.825 MB / 485.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.3493, allocations: 99.42 kB / 485.4 MB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3493, allocations: 0 / 485.4 MB, free: 15.89 MB / 398.1 MB Notification: Performance of Templates: time 0.06421/0.4136, allocations: 36.19 MB / 0.5093 GB, free: 11.68 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/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