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.001149/0.001149, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.22 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004847/0.1089, allocations: 3.433 MB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1117, allocations: 1.66 MB / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.1121, allocations: 12 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.1149, allocations: 2.659 MB / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.1156, allocations: 222.5 kB / 366.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.1164, allocations: 318.8 kB / 367.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.1182, allocations: 1.825 MB / 369 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1185, allocations: 139.7 kB / 369.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.1188, allocations: 321 kB / 369.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.1192, allocations: 334.8 kB / 369.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.1193, allocations: 44 kB / 369.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1195, allocations: 87.97 kB / 369.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.1201, allocations: 0.8452 MB / 370.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.1208, allocations: 0.9424 MB / 371.7 MB, free: 464 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1849/0.3057, allocations: 2.633 MB / 374.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3058, allocations: 0.9062 kB / 374.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3058, allocations: 0 / 374.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.306, allocations: 0 / 374.4 MB, free: 13.58 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.007776/0.3137, allocations: 2.812 MB / 377.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3138, allocations: 9.625 kB / 377.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.3146, allocations: 295.7 kB / 377.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.3182, allocations: 1.831 MB / 379.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.3182, allocations: 59.69 kB / 379.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.3184, allocations: 49.03 kB / 379.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.3192, allocations: 399.1 kB / 379.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3193, allocations: 1.156 kB / 379.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.3193, allocations: 15.16 kB / 379.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3193, allocations: 9.125 kB / 379.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.32, allocations: 327.5 kB / 380.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.3251, allocations: 2.904 MB / 383 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.3258, allocations: 312.6 kB / 383.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.3261, allocations: 165.8 kB / 383.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.3261, allocations: 9.875 kB / 383.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3262, allocations: 39.36 kB / 383.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/0.3262, allocations: 0 / 383.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004907/0.3311, allocations: 2.407 MB / 386 MB, free: 8.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.3311, allocations: 84.27 kB / 386 MB, free: 8.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008013/0.3391, allocations: 5.453 MB / 391.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3393, allocations: 36.55 kB / 391.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009545/0.3403, allocations: 1.184 MB / 392.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3404, allocations: 167.3 kB / 392.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3406, allocations: 93.88 kB / 393 MB, free: 5.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.3407, allocations: 322 kB / 393.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.341, allocations: 139.7 kB / 393.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.3414, allocations: 226.7 kB / 393.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.342, allocations: 381.7 kB / 394 MB, free: 4.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.342, allocations: 3.719 kB / 394 MB, free: 4.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00169/0.3437, allocations: 0.685 MB / 394.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3437, allocations: 8.906 kB / 394.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3438, allocations: 2.953 kB / 394.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3438, allocations: 7.875 kB / 394.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.3443, allocations: 118.6 kB / 394.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3443, allocations: 6.328 kB / 394.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.3449, allocations: 20.48 kB / 394.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.345, allocations: 14.5 kB / 394.9 MB, free: 4.254 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.001387/0.3464, allocations: 0.9275 MB / 395.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.3467, allocations: 274.5 kB / 396.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3481, allocations: 0.7972 MB / 396.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3481, allocations: 10.06 kB / 396.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3481, allocations: 2.562 kB / 396.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3481, allocations: 3.5 kB / 396.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.3499, allocations: 1.475 MB / 398.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3499, allocations: 0 / 398.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3504, allocations: 101.8 kB / 398.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.3507, allocations: 98.47 kB / 398.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3507, allocations: 11.17 kB / 398.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004208/0.3512, allocations: 0.6328 MB / 399.2 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3512, allocations: 0 / 399.2 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.3529, allocations: 1.087 MB / 400.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009405/0.3538, allocations: 491 kB / 400.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.354, allocations: 8 kB / 400.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.3545, allocations: 23.98 kB / 400.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3546, allocations: 28.39 kB / 400.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3546, allocations: 12.12 kB / 400.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.005528/0.3602, allocations: 3.99 MB / 404.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3602, allocations: 4 kB / 404.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001108/0.3613, allocations: 204 kB / 405 MB, free: 12.4 MB / 318.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.00106/0.3624, allocations: 427.2 kB / 405.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000899/0.3633, allocations: 380.1 kB / 405.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3633, allocations: 0 / 405.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.3638, allocations: 214.8 kB / 406 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.3653, allocations: 196.7 kB / 406.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009302/0.3746, allocations: 5.422 MB / 411.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.3767, allocations: 1.825 MB / 413.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001017/0.3777, allocations: 279.8 kB / 413.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.378, allocations: 87.42 kB / 413.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of SimCode: time 1.213e-06/0.378, allocations: 0 / 413.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of Templates: time 0.03344/0.4115, allocations: 15.33 MB / 429.2 MB, free: 4.473 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/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