Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008946, allocations: 89.67 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 182.5 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002353, allocations: 7.938 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08386, allocations: 50.42 MB / 351.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003419/0.08731, allocations: 3.044 MB / 354.9 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.08958, allocations: 1.415 MB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.08979, allocations: 8 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.09189, allocations: 1.86 MB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.0923, allocations: 143 kB / 358.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.093, allocations: 282.3 kB / 358.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.09464, allocations: 1.698 MB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.09486, allocations: 115.9 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.0952, allocations: 281 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.09555, allocations: 286.9 kB / 360.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.09562, allocations: 23.94 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.09579, allocations: 71.91 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.09636, allocations: 0.8219 MB / 361.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.09701, allocations: 0.9089 MB / 362.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.09886, allocations: 2.499 MB / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09887, allocations: 0 / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09888, allocations: 0 / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.09891, allocations: 0 / 365.3 MB, free: 5.969 MB / 302.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.003255/0.1022, allocations: 2.415 MB / 367.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1022, allocations: 8.031 kB / 367.7 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.1025, allocations: 281.3 kB / 368 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.1047, allocations: 1.82 MB / 369.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.1048, allocations: 59.25 kB / 369.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.105, allocations: 51.92 kB / 369.9 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.1058, allocations: 399 kB / 370.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1058, allocations: 0 / 370.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.1058, allocations: 16 kB / 370.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1059, allocations: 15.94 kB / 370.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1066, allocations: 331.8 kB / 370.6 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1618/0.2684, allocations: 2.909 MB / 373.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.2692, allocations: 317.8 kB / 373.9 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.2695, allocations: 171.6 kB / 374 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.2695, allocations: 6.156 kB / 374 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2696, allocations: 44.05 kB / 374.1 MB, free: 22.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.2696, allocations: 0 / 374.1 MB, free: 22.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004691/0.2743, allocations: 2.407 MB / 376.5 MB, free: 21.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2743, allocations: 83.8 kB / 376.6 MB, free: 20.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006398/0.2807, allocations: 5.433 MB / 382 MB, free: 19.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/0.2808, allocations: 31.98 kB / 382 MB, free: 19.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/0.2817, allocations: 1.212 MB / 383.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.2819, allocations: 163.9 kB / 383.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.2819, allocations: 47.33 kB / 383.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.282, allocations: 323.9 kB / 383.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.2823, allocations: 144.1 kB / 383.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.2827, allocations: 223.7 kB / 384.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.2833, allocations: 385.4 kB / 384.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2834, allocations: 0 / 384.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001548/0.2849, allocations: 0.6844 MB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.285, allocations: 6.359 kB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.285, allocations: 2.688 kB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.285, allocations: 7.219 kB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.2855, allocations: 123.5 kB / 385.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2855, allocations: 8.906 kB / 385.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.286, allocations: 17.22 kB / 385.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.2861, allocations: 23.94 kB / 385.4 MB, free: 17.09 MB / 302.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.2873, allocations: 0.9217 MB / 386.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.2876, allocations: 273.5 kB / 386.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.2891, allocations: 0.7997 MB / 387.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2891, allocations: 11.75 kB / 387.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2891, allocations: 0.5156 kB / 387.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2891, allocations: 2.578 kB / 387.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.2909, allocations: 1.467 MB / 388.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.291, allocations: 0 / 388.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.2914, allocations: 101.2 kB / 388.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.2917, allocations: 93.7 kB / 389 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.2918, allocations: 13.95 kB / 389 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004161/0.2922, allocations: 0.6505 MB / 389.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2922, allocations: 0 / 389.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.2938, allocations: 1.072 MB / 390.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.2944, allocations: 498.1 kB / 391.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.2946, allocations: 6.75 kB / 391.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.2951, allocations: 28.78 kB / 391.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.2952, allocations: 30.14 kB / 391.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2952, allocations: 13.75 kB / 391.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00388/0.2991, allocations: 3.978 MB / 395.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2991, allocations: 0 / 395.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007654/0.2999, allocations: 211.4 kB / 395.5 MB, free: 10.78 MB / 302.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.0009703/0.3009, allocations: 411.1 kB / 395.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.3017, allocations: 392.8 kB / 396.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3017, allocations: 0 / 396.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.3021, allocations: 206.9 kB / 396.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.3034, allocations: 198.1 kB / 396.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/0.3096, allocations: 6.158 MB / 402.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.3108, allocations: 1.814 MB / 404.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005216/0.3113, allocations: 271.6 kB / 404.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3116, allocations: 91.42 kB / 405 MB, free: 1.359 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3116, allocations: 0 / 405 MB, free: 1.359 MB / 302.1 MB Notification: Performance of Templates: time 0.02704/0.3386, allocations: 14.19 MB / 419.2 MB, free: 3.227 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches