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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 118.2 kB / 17.79 MB, free: 5.305 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: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2963, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005594/0.3019, allocations: 3.439 MB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.3051, allocations: 1.64 MB / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.3055, allocations: 8 kB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.3086, allocations: 2.667 MB / 417 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.3094, allocations: 222.5 kB / 417.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.3102, allocations: 322.8 kB / 417.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.3123, allocations: 1.821 MB / 419.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.3126, allocations: 139.9 kB / 419.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.3131, allocations: 313 kB / 419.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.3136, allocations: 330.8 kB / 420.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3137, allocations: 44 kB / 420.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.314, allocations: 95.91 kB / 420.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3145, allocations: 0.8453 MB / 421.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008647/0.3154, allocations: 0.9462 MB / 422 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.3176, allocations: 2.633 MB / 424.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3176, allocations: 3.984 kB / 424.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3176, allocations: 0 / 424.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.3177, allocations: 0 / 424.7 MB, free: 2.117 MB / 334.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.004287/0.322, allocations: 2.814 MB / 427.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.322, allocations: 12.03 kB / 427.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.3224, allocations: 289.3 kB / 427.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3248, allocations: 1.844 MB / 429.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.3249, allocations: 59.27 kB / 429.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.3251, allocations: 47.92 kB / 429.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3257, allocations: 402.9 kB / 430.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3258, allocations: 0 / 430.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.3258, allocations: 16 kB / 430.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3258, allocations: 12 kB / 430.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.3265, allocations: 327.8 kB / 430.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.3302, allocations: 2.903 MB / 433.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.3309, allocations: 321 kB / 433.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.3312, allocations: 172 kB / 433.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.3312, allocations: 4 kB / 433.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.3313, allocations: 46.5 kB / 433.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.3313, allocations: 0 / 433.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004534/0.3358, allocations: 2.397 MB / 436.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3359, allocations: 81.55 kB / 436.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/0.3416, allocations: 5.455 MB / 441.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.3417, allocations: 33.7 kB / 441.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.3427, allocations: 1.18 MB / 443.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3428, allocations: 165.6 kB / 443.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.343, allocations: 94.14 kB / 443.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3431, allocations: 326 kB / 443.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3435, allocations: 145 kB / 443.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3438, allocations: 217.7 kB / 444 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3445, allocations: 384.3 kB / 444.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3445, allocations: 3.938 kB / 444.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001082/0.3456, allocations: 0.6839 MB / 445 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3456, allocations: 8.25 kB / 445.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3456, allocations: 4 kB / 445.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3457, allocations: 4 kB / 445.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.3462, allocations: 119.8 kB / 445.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3462, allocations: 8 kB / 445.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.3466, allocations: 15.98 kB / 445.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.3466, allocations: 20 kB / 445.2 MB, free: 13.12 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.0009409/0.3476, allocations: 0.9307 MB / 446.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.3479, allocations: 272.4 kB / 446.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3492, allocations: 0.7982 MB / 447.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3492, allocations: 7.938 kB / 447.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3493, allocations: 0 / 447.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3493, allocations: 7.984 kB / 447.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.3508, allocations: 1.469 MB / 448.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3508, allocations: 7.938 kB / 448.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.3512, allocations: 95.88 kB / 448.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.3516, allocations: 96.66 kB / 448.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3516, allocations: 12 kB / 448.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005051/0.3522, allocations: 0.6382 MB / 449.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3522, allocations: 0 / 449.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3537, allocations: 1.081 MB / 450.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.3544, allocations: 489.6 kB / 451.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3546, allocations: 12 kB / 451.1 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.355, allocations: 15.98 kB / 451.1 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3551, allocations: 32.39 kB / 451.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3552, allocations: 16 kB / 451.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004273/0.3594, allocations: 3.986 MB / 455.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3595, allocations: 4 kB / 455.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006417/0.3601, allocations: 208 kB / 455.4 MB, free: 2.82 MB / 366.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.0009068/0.361, allocations: 423.5 kB / 455.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.3618, allocations: 384.8 kB / 456.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3618, allocations: 0 / 456.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3623, allocations: 214.2 kB / 456.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.3633, allocations: 193.9 kB / 456.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.3699, allocations: 5.412 MB / 462 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.3715, allocations: 1.825 MB / 463.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000543/0.372, allocations: 275.8 kB / 464.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.3723, allocations: 95.42 kB / 464.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3723, allocations: 0 / 464.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Templates: time 0.02982/0.4021, allocations: 15.56 MB / 479.7 MB, free: 10.57 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches