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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001533/0.001533, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.00173/0.00173, allocations: 47.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2505, allocations: 53.37 MB / 431.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005915/0.2564, allocations: 3.21 MB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.2604, allocations: 1.594 MB / 436.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.2609, allocations: 7.938 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.2648, allocations: 2.667 MB / 439.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.2656, allocations: 230.5 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.2666, allocations: 314.3 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.2693, allocations: 1.829 MB / 441.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2695, allocations: 96.03 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.2702, allocations: 340.9 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006292/0.2708, allocations: 354.8 kB / 442.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.2709, allocations: 44 kB / 442.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.2712, allocations: 91.92 kB / 442.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008432/0.2721, allocations: 0.8569 MB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009119/0.273, allocations: 0.6588 MB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.2761, allocations: 2.683 MB / 446.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2762, allocations: 0 / 446.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2762, allocations: 0 / 446.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.2763, allocations: 0 / 446.5 MB, free: 7.684 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.005546/0.2818, allocations: 2.84 MB / 449.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2819, allocations: 11.98 kB / 449.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/0.2824, allocations: 314.9 kB / 449.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.2854, allocations: 1.798 MB / 451.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.2855, allocations: 110.7 kB / 451.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.2857, allocations: 47.94 kB / 451.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.2866, allocations: 446.4 kB / 452.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2866, allocations: 3.938 kB / 452.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.2866, allocations: 16 kB / 452.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2866, allocations: 8 kB / 452.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.2874, allocations: 327.8 kB / 452.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.2917, allocations: 2.56 MB / 455 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.2924, allocations: 293.1 kB / 455.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.2928, allocations: 156.2 kB / 455.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2928, allocations: 12 kB / 455.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2928, allocations: 38.5 kB / 455.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.275e-06/0.2928, allocations: 0 / 455.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005116/0.298, allocations: 2.413 MB / 457.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.298, allocations: 81.55 kB / 458 MB, free: 11.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00674/0.3048, allocations: 5.457 MB / 463.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.3049, allocations: 33.7 kB / 463.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.306, allocations: 1.172 MB / 464.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.3062, allocations: 178.4 kB / 464.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.3064, allocations: 94.17 kB / 464.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3065, allocations: 322 kB / 465.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.3069, allocations: 140.9 kB / 465.3 MB, free: 4.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.3073, allocations: 225 kB / 465.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.308, allocations: 384.3 kB / 465.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.308, allocations: 0 / 465.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001295/0.3093, allocations: 0.7011 MB / 466.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3094, allocations: 4 kB / 466.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3094, allocations: 4 kB / 466.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3094, allocations: 8.25 kB / 466.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.3099, allocations: 123.8 kB / 466.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3099, allocations: 4 kB / 466.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.3104, allocations: 23.94 kB / 466.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.3104, allocations: 16 kB / 466.8 MB, free: 2.996 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.001121/0.3115, allocations: 0.9231 MB / 467.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.3119, allocations: 286 kB / 468 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.3134, allocations: 0.7865 MB / 468.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3134, allocations: 8 kB / 468.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3134, allocations: 3.938 kB / 468.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3134, allocations: 3.984 kB / 468.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3149, allocations: 1.184 MB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3149, allocations: 0 / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.3154, allocations: 95.88 kB / 470.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.3158, allocations: 88.8 kB / 470.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.3158, allocations: 19.92 kB / 470.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006406/0.3165, allocations: 0.6382 MB / 470.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3165, allocations: 0 / 470.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.3183, allocations: 1.087 MB / 471.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.3193, allocations: 434 kB / 472.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.3195, allocations: 15.94 kB / 472.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.32, allocations: 19.98 kB / 472.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.32, allocations: 28.38 kB / 472.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.3201, allocations: 20 kB / 472.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005283/0.3254, allocations: 3.982 MB / 476.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3254, allocations: 0 / 476.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.3263, allocations: 211.9 kB / 476.6 MB, free: 9.086 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.001733/0.328, allocations: 447.7 kB / 477.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008939/0.3289, allocations: 364.9 kB / 477.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3289, allocations: 0 / 477.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.3294, allocations: 202.4 kB / 477.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3307, allocations: 184.8 kB / 477.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/0.3391, allocations: 5.507 MB / 483.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/0.3408, allocations: 1.25 MB / 484.5 MB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007307/0.3415, allocations: 275.8 kB / 484.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.3418, allocations: 87.42 kB / 484.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3418, allocations: 0 / 484.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of Templates: time 0.0369/0.3787, allocations: 17.64 MB / 0.4908 GB, free: 15.33 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.979167158249766]