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.001871/0.001871, allocations: 105.1 kB / 21.18 MB, free: 0.7852 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.00242/0.00242, allocations: 218.1 kB / 24.5 MB, free: 4.172 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.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.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 0.001944/0.001944, allocations: 63.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2632, allocations: 53.4 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005526/0.2687, allocations: 3.494 MB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.2717, allocations: 1.667 MB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.2719, allocations: 15.94 kB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.2752, allocations: 2.663 MB / 440.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000596/0.2758, allocations: 226.5 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.2765, allocations: 334.8 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2786, allocations: 1.821 MB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.2788, allocations: 96.38 kB / 442.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.2793, allocations: 332.9 kB / 443.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.2798, allocations: 358.7 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.2799, allocations: 44 kB / 443.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2801, allocations: 91.98 kB / 443.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.2807, allocations: 0.8453 MB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007904/0.2815, allocations: 0.9423 MB / 445.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.2842, allocations: 2.646 MB / 448 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2842, allocations: 3.938 kB / 448 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2842, allocations: 4 kB / 448 MB, free: 7.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.2842, allocations: 0 / 448 MB, free: 7.176 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.004343/0.2885, allocations: 2.843 MB / 450.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2886, allocations: 12.03 kB / 450.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.289, allocations: 306.9 kB / 451.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.2919, allocations: 1.802 MB / 452.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.292, allocations: 110.7 kB / 453.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.2922, allocations: 52.42 kB / 453.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.2929, allocations: 391 kB / 453.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2929, allocations: 0 / 453.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.293, allocations: 16 kB / 453.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.293, allocations: 8 kB / 453.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.2937, allocations: 335.7 kB / 453.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.2981, allocations: 2.853 MB / 456.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.2988, allocations: 318.5 kB / 457 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.2991, allocations: 156.4 kB / 457.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2992, allocations: 4 kB / 457.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2992, allocations: 35.16 kB / 457.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.734e-06/0.2992, allocations: 4 kB / 457.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004996/0.3042, allocations: 2.394 MB / 459.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3043, allocations: 81.55 kB / 459.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00725/0.3115, allocations: 5.459 MB / 465.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.3116, allocations: 37.7 kB / 465.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.313, allocations: 1.192 MB / 466.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3132, allocations: 174.5 kB / 466.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3134, allocations: 94.12 kB / 466.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3136, allocations: 322 kB / 466.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.3139, allocations: 140.9 kB / 467.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.3144, allocations: 221.1 kB / 467.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.3152, allocations: 388.2 kB / 467.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3152, allocations: 0 / 467.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001582/0.3167, allocations: 0.7089 MB / 468.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3168, allocations: 4 kB / 468.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3168, allocations: 4 kB / 468.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3168, allocations: 4 kB / 468.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.3173, allocations: 124.1 kB / 468.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.3174, allocations: 4 kB / 468.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.3178, allocations: 19.98 kB / 468.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3178, allocations: 16 kB / 468.5 MB, free: 2.219 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.001258/0.3191, allocations: 0.923 MB / 469.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.3194, allocations: 290 kB / 469.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.321, allocations: 0.7865 MB / 470.5 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.321, allocations: 8 kB / 470.5 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.321, allocations: 0 / 470.5 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.321, allocations: 7.984 kB / 470.6 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.3228, allocations: 1.456 MB / 472 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3228, allocations: 0 / 472 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.3232, allocations: 95.88 kB / 472.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.3236, allocations: 100.7 kB / 472.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.3236, allocations: 12 kB / 472.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006241/0.3243, allocations: 0.6266 MB / 472.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3243, allocations: 8 kB / 472.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.326, allocations: 1.087 MB / 473.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/0.327, allocations: 434.1 kB / 474.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3272, allocations: 16 kB / 474.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.3277, allocations: 15.98 kB / 474.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.3278, allocations: 32.38 kB / 474.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.3278, allocations: 16 kB / 474.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005676/0.3335, allocations: 3.986 MB / 478.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3335, allocations: 0 / 478.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009883/0.3345, allocations: 208 kB / 478.6 MB, free: 8.023 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.001632/0.3361, allocations: 418.1 kB / 479 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/0.337, allocations: 357.2 kB / 479.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.337, allocations: 8.062 kB / 479.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.3375, allocations: 198.4 kB / 479.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3386, allocations: 199.2 kB / 479.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.3475, allocations: 5.684 MB / 485.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/0.3496, allocations: 1.829 MB / 487.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.35, allocations: 91.42 kB / 487.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.35, allocations: 0 / 487.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.06212/0.4121, allocations: 36.2 MB / 0.5113 GB, free: 11.11 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 [Calling sys.exit(0), Time elapsed: 8.311924739042297]