Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.81 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2347, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005861/0.2405, allocations: 4.405 MB / 426.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2432, allocations: 1.652 MB / 428.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.2435, allocations: 11.94 kB / 428.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.2438, allocations: 126.8 kB / 428.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007588/0.2446, allocations: 365.6 kB / 428.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.245, allocations: 251.5 kB / 429.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.246, allocations: 0.9823 MB / 430 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.2463, allocations: 165.4 kB / 430.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.2469, allocations: 382.7 kB / 430.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.2475, allocations: 426.3 kB / 431 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.2476, allocations: 100 kB / 431.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.248, allocations: 219.9 kB / 431.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.2482, allocations: 199.3 kB / 431.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.2486, allocations: 410.1 kB / 431.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.25, allocations: 1.175 MB / 433.1 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.25, allocations: 0 / 433.1 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.25, allocations: 0 / 433.1 MB, free: 13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.25, allocations: 0 / 433.1 MB, free: 13 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002536/0.2526, allocations: 1.125 MB / 434.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2526, allocations: 8.031 kB / 434.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.2529, allocations: 92.45 kB / 434.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.2538, allocations: 0.5149 MB / 434.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.2539, allocations: 75.52 kB / 434.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.2541, allocations: 72.47 kB / 435 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.2553, allocations: 0.602 MB / 435.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2553, allocations: 0 / 435.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.2553, allocations: 28 kB / 435.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2554, allocations: 12 kB / 435.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2565, allocations: 0.5282 MB / 436.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.2599, allocations: 2.291 MB / 438.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.2609, allocations: 463 kB / 438.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.2614, allocations: 246.1 kB / 439.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.2615, allocations: 7.984 kB / 439.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.2615, allocations: 42.5 kB / 439.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.2615, allocations: 0 / 439.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01308/0.2746, allocations: 3.56 MB / 442.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.2747, allocations: 89.61 kB / 442.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/0.2755, allocations: 0.541 MB / 443.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.2756, allocations: 37.7 kB / 443.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.2758, allocations: 320.9 kB / 443.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.276, allocations: 214.1 kB / 443.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.2762, allocations: 110.3 kB / 444 MB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2764, allocations: 366.8 kB / 444.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.277, allocations: 249.2 kB / 444.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.2776, allocations: 348.4 kB / 445 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2788, allocations: 0.6097 MB / 445.6 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2789, allocations: 3.938 kB / 445.6 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00158/0.2804, allocations: 0.7414 MB / 446.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2805, allocations: 8.312 kB / 446.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2805, allocations: 4 kB / 446.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.2806, allocations: 32.83 kB / 446.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.2814, allocations: 163.8 kB / 446.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2827, allocations: 1.435 MB / 448 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.2833, allocations: 43.98 kB / 448 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.2833, allocations: 23.98 kB / 448 MB, free: 13.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002996/0.2836, allocations: 197.7 kB / 448.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2838, allocations: 67.58 kB / 448.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.2856, allocations: 0.8297 MB / 449.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2856, allocations: 11.94 kB / 449.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2856, allocations: 0 / 449.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2857, allocations: 3.984 kB / 449.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.2895, allocations: 1.842 MB / 451 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2895, allocations: 0 / 451 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.2901, allocations: 107.9 kB / 451.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.2925, allocations: 480.4 kB / 451.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.2925, allocations: 12 kB / 451.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/0.2978, allocations: 3.154 MB / 454.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2978, allocations: 0 / 454.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.3009, allocations: 1.363 MB / 456.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.3012, allocations: 212.7 kB / 456.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.3013, allocations: 16 kB / 456.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.3019, allocations: 39.97 kB / 456.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.302, allocations: 52.48 kB / 456.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.302, allocations: 16 kB / 456.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000521/0.3026, allocations: 394.9 kB / 456.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3026, allocations: 0 / 456.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000722/0.3033, allocations: 187.9 kB / 457 MB, free: 4.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002932/0.3036, allocations: 159 kB / 457.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3051, allocations: 0.7092 MB / 457.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3051, allocations: 0 / 457.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.306, allocations: 0.4938 MB / 458.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.3067, allocations: 90.3 kB / 458.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3094, allocations: 1.493 MB / 459.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.31, allocations: 0.9043 MB / 460.8 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.3103, allocations: 72.8 kB / 460.9 MB, free: 212 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3104, allocations: 51.41 kB / 460.9 MB, free: 160 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3104, allocations: 0 / 460.9 MB, free: 160 kB / 366.1 MB Notification: Performance of Templates: time 0.01944/0.3299, allocations: 10.62 MB / 471.6 MB, free: 5.637 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches