Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001459/0.001459, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001258/0.001258, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 48.41 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09783, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005627/0.1035, allocations: 3.341 MB / 378.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2232/0.3267, allocations: 1.388 MB / 379.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.3273, allocations: 6.219 kB / 379.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.3313, allocations: 2.662 MB / 382.5 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.332, allocations: 170.9 kB / 382.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.3328, allocations: 287.8 kB / 383 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.3353, allocations: 1.794 MB / 384.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.3356, allocations: 135.1 kB / 384.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.3361, allocations: 308.2 kB / 385.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.3365, allocations: 327.8 kB / 385.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.3366, allocations: 44.62 kB / 385.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3368, allocations: 78.2 kB / 385.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006694/0.3375, allocations: 0.8449 MB / 386.5 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.3381, allocations: 0.9344 MB / 387.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.341, allocations: 2.618 MB / 390.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.341, allocations: 1.531 kB / 390.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.341, allocations: 7.938 kB / 390.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.3411, allocations: 0 / 390.1 MB, free: 8.156 MB / 318.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.004162/0.3453, allocations: 2.893 MB / 393 MB, free: 6.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3453, allocations: 9.219 kB / 393 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.3457, allocations: 294.2 kB / 393.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.3479, allocations: 1.852 MB / 395.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.348, allocations: 59.16 kB / 395.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.3482, allocations: 48.44 kB / 395.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.3489, allocations: 397.9 kB / 395.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3489, allocations: 0 / 395.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.349, allocations: 16.12 kB / 395.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.349, allocations: 8.25 kB / 395.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.3496, allocations: 331.7 kB / 395.9 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.3534, allocations: 2.907 MB / 398.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.3541, allocations: 318.9 kB / 399.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.3544, allocations: 170.4 kB / 399.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.3544, allocations: 5.453 kB / 399.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3544, allocations: 38.75 kB / 399.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.3544, allocations: 0 / 399.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004464/0.3589, allocations: 2.433 MB / 401.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.359, allocations: 86 kB / 401.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007878/0.3668, allocations: 5.428 MB / 407.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.367, allocations: 36.45 kB / 407.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3681, allocations: 1.21 MB / 408.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.3683, allocations: 184 kB / 408.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3685, allocations: 91.98 kB / 408.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3686, allocations: 329.9 kB / 409.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.369, allocations: 137.1 kB / 409.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.3693, allocations: 221.7 kB / 409.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.37, allocations: 386 kB / 409.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.37, allocations: 7.625 kB / 409.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001876/0.3719, allocations: 0.6895 MB / 410.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.372, allocations: 7.984 kB / 410.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.372, allocations: 4 kB / 410.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.372, allocations: 4 kB / 410.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.3726, allocations: 119.8 kB / 410.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3726, allocations: 4 kB / 410.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.3732, allocations: 28.19 kB / 410.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3733, allocations: 19.94 kB / 410.8 MB, free: 10.88 MB / 334.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.001473/0.3747, allocations: 0.9191 MB / 411.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.3751, allocations: 285.4 kB / 412 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.3766, allocations: 0.7811 MB / 412.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.3766, allocations: 8 kB / 412.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3766, allocations: 3.938 kB / 412.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3766, allocations: 3.984 kB / 412.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.3787, allocations: 1.458 MB / 414.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3787, allocations: 7.938 kB / 414.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.3791, allocations: 95.88 kB / 414.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.3795, allocations: 91.78 kB / 414.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.3796, allocations: 15.98 kB / 414.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007135/0.3804, allocations: 0.6227 MB / 415 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3804, allocations: 0 / 415 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.3822, allocations: 1.078 MB / 416.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/0.3829, allocations: 0.4952 MB / 416.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.3831, allocations: 8 kB / 416.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.3836, allocations: 31.3 kB / 416.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3837, allocations: 32.33 kB / 416.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3838, allocations: 19.98 kB / 416.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.005875/0.3897, allocations: 3.966 MB / 420.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3897, allocations: 0 / 420.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001021/0.3907, allocations: 204 kB / 420.9 MB, free: 0.6523 MB / 334.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.001028/0.3918, allocations: 431.4 kB / 421.3 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.3927, allocations: 377.7 kB / 421.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3927, allocations: 0 / 421.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.3932, allocations: 214.9 kB / 421.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3943, allocations: 195.1 kB / 422.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.4019, allocations: 5.475 MB / 427.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/0.4036, allocations: 1.821 MB / 429.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.4041, allocations: 271.6 kB / 429.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.4044, allocations: 95.36 kB / 429.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4045, allocations: 0 / 429.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Templates: time 0.02981/0.4343, allocations: 15.47 MB / 445.2 MB, free: 8.266 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches