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.001326/0.001326, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001462/0.001462, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.451/1.451, allocations: 230.2 MB / 257.9 MB, free: 8.258 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.001917/0.001917, allocations: 59.91 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2627, allocations: 53.37 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005304/0.268, allocations: 3.486 MB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.271, allocations: 1.683 MB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.2712, allocations: 4 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.2746, allocations: 2.671 MB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.2752, allocations: 222.5 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.2761, allocations: 330.9 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.2781, allocations: 1.817 MB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.2784, allocations: 100.4 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.2788, allocations: 321 kB / 442.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.2793, allocations: 358.7 kB / 443.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.2794, allocations: 48 kB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.2796, allocations: 95.97 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006933/0.2803, allocations: 0.8491 MB / 444.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008184/0.2811, allocations: 0.9385 MB / 445 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.2837, allocations: 2.658 MB / 447.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2837, allocations: 3.938 kB / 447.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2837, allocations: 0 / 447.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.2837, allocations: 0 / 447.7 MB, free: 7.48 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.004477/0.2882, allocations: 2.84 MB / 450.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2882, allocations: 11.98 kB / 450.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.2887, allocations: 310.9 kB / 450.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.2917, allocations: 1.798 MB / 452.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.2918, allocations: 63.2 kB / 452.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.292, allocations: 48.48 kB / 452.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.2928, allocations: 395 kB / 453.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2929, allocations: 0 / 453.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.2929, allocations: 16 kB / 453.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2929, allocations: 8 kB / 453.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.2937, allocations: 331.7 kB / 453.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.2987, allocations: 2.857 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.2994, allocations: 312 kB / 456.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2998, allocations: 152.4 kB / 456.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2998, allocations: 11.92 kB / 456.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.2998, allocations: 39.16 kB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2998, allocations: 0 / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005237/0.3051, allocations: 2.4 MB / 459.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3051, allocations: 89.58 kB / 459.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007177/0.3123, allocations: 5.455 MB / 464.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.3124, allocations: 33.7 kB / 464.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.3136, allocations: 1.188 MB / 466 MB, free: 4.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3138, allocations: 174.5 kB / 466.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.314, allocations: 90.14 kB / 466.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3141, allocations: 326 kB / 466.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3145, allocations: 148.9 kB / 466.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.3149, allocations: 217.1 kB / 466.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/0.3156, allocations: 384.3 kB / 467.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3156, allocations: 0 / 467.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001441/0.3171, allocations: 0.7011 MB / 468 MB, free: 2.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3171, allocations: 8 kB / 468 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3171, allocations: 3.938 kB / 468 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3171, allocations: 12.25 kB / 468 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.3176, allocations: 119.9 kB / 468.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3176, allocations: 4 kB / 468.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.3181, allocations: 19.94 kB / 468.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3181, allocations: 16 kB / 468.2 MB, free: 2.59 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.001234/0.3194, allocations: 0.9191 MB / 469.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.3197, allocations: 294 kB / 469.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3213, allocations: 0.7904 MB / 470.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3213, allocations: 4 kB / 470.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3213, allocations: 4 kB / 470.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3213, allocations: 7.984 kB / 470.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.3232, allocations: 1.453 MB / 471.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3232, allocations: 0 / 471.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3236, allocations: 99.88 kB / 471.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.324, allocations: 88.67 kB / 471.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.324, allocations: 15.98 kB / 471.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000652/0.3247, allocations: 0.6382 MB / 472.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3247, allocations: 0 / 472.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.3266, allocations: 1.094 MB / 473.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.3275, allocations: 430 kB / 474 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3277, allocations: 16 kB / 474 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.3282, allocations: 15.98 kB / 474 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.3283, allocations: 32.38 kB / 474.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.3283, allocations: 15.98 kB / 474.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005346/0.3337, allocations: 3.99 MB / 478.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 478.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009418/0.3346, allocations: 208 kB / 478.3 MB, free: 8.387 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.00161/0.3362, allocations: 417.6 kB / 478.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008767/0.3371, allocations: 357 kB / 479 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3371, allocations: 0 / 479 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.3376, allocations: 202.3 kB / 479.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3387, allocations: 195.1 kB / 479.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.3468, allocations: 5.507 MB / 484.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.3486, allocations: 1.821 MB / 486.7 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006518/0.3492, allocations: 275.8 kB / 487 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3495, allocations: 95.42 kB / 487.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3495, allocations: 0 / 487.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of Templates: time 0.03375/0.3833, allocations: 15.95 MB / 0.4913 GB, free: 15.7 MB / 414.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/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_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: 4.844853978604078]