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.0008381/0.0008381, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009195/0.0009195, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001991/0.0001991, allocations: 8 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08577, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.0033/0.0891, allocations: 2.954 MB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.09131, allocations: 1.555 MB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.09147, allocations: 7.938 kB / 363.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.09343, allocations: 1.719 MB / 364.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.0938, allocations: 171 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.0944, allocations: 270.7 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.09572, allocations: 1.415 MB / 366.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.09593, allocations: 107.4 kB / 366.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.09626, allocations: 291.1 kB / 367.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.09662, allocations: 310.9 kB / 367.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.09669, allocations: 24 kB / 367.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.09685, allocations: 59.98 kB / 367.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.09745, allocations: 0.8414 MB / 368.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.09771, allocations: 384.3 kB / 368.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.09928, allocations: 2.109 MB / 370.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.0993, allocations: 4 kB / 370.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0993, allocations: 0 / 370.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.09932, allocations: 0 / 370.8 MB, free: 1.195 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.1646/0.2639, allocations: 2.439 MB / 373.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.264, allocations: 9.062 kB / 373.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.265, allocations: 292.2 kB / 373.6 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.2688, allocations: 1.694 MB / 375.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.269, allocations: 63.77 kB / 375.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.2692, allocations: 48.58 kB / 375.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2704, allocations: 395.5 kB / 375.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.2704, allocations: 2.375 kB / 375.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.2705, allocations: 14.88 kB / 375.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.2705, allocations: 9.75 kB / 375.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.2714, allocations: 337.4 kB / 376.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.2762, allocations: 2.911 MB / 379 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.2768, allocations: 316.9 kB / 379.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.2772, allocations: 168.3 kB / 379.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.2772, allocations: 6.781 kB / 379.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2772, allocations: 40.42 kB / 379.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/0.2772, allocations: 1.281 kB / 379.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004623/0.2819, allocations: 2.42 MB / 382 MB, free: 13.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2819, allocations: 87.05 kB / 382 MB, free: 13.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006686/0.2886, allocations: 5.463 MB / 387.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.2887, allocations: 31.11 kB / 387.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000958/0.2897, allocations: 1.188 MB / 388.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.2898, allocations: 162 kB / 388.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.2898, allocations: 10.25 kB / 388.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.2899, allocations: 325.1 kB / 389.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2903, allocations: 139 kB / 389.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2906, allocations: 225.6 kB / 389.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.291, allocations: 170.3 kB / 389.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.291, allocations: 1.984 kB / 389.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001246/0.2922, allocations: 0.6859 MB / 390.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2923, allocations: 9.422 kB / 390.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2923, allocations: 2.719 kB / 390.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2923, allocations: 5.406 kB / 390.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.2928, allocations: 121.6 kB / 390.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2929, allocations: 4.906 kB / 390.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.2933, allocations: 21.86 kB / 390.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.2934, allocations: 18.52 kB / 390.6 MB, free: 9.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.2944, allocations: 0.9248 MB / 391.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.2947, allocations: 269.4 kB / 391.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.2961, allocations: 0.8037 MB / 392.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2961, allocations: 5.656 kB / 392.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2961, allocations: 1.656 kB / 392.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.2961, allocations: 6.109 kB / 392.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2977, allocations: 1.482 MB / 394.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2977, allocations: 5.281 kB / 394.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.2981, allocations: 96.84 kB / 394.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.2985, allocations: 90.48 kB / 394.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2985, allocations: 15.73 kB / 394.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/0.2989, allocations: 0.6355 MB / 394.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2989, allocations: 0 / 394.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3003, allocations: 1.092 MB / 396 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.3009, allocations: 0.4898 MB / 396.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.301, allocations: 8 kB / 396.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.3015, allocations: 23.98 kB / 396.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3016, allocations: 28.36 kB / 396.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3016, allocations: 15.98 kB / 396.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003625/0.3052, allocations: 3.997 MB / 400.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3052, allocations: 0 / 400.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007408/0.306, allocations: 208 kB / 400.8 MB, free: 1.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009027/0.3069, allocations: 411.2 kB / 401.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3076, allocations: 385 kB / 401.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3076, allocations: 3.938 kB / 401.6 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.308, allocations: 210.4 kB / 401.8 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.309, allocations: 186.7 kB / 402 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.3163, allocations: 5.948 MB / 407.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.3178, allocations: 1.83 MB / 409.7 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006286/0.3185, allocations: 271.8 kB / 410 MB, free: 8.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3188, allocations: 95.42 kB / 410.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3188, allocations: 0 / 410.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of Templates: time 0.02789/0.3467, allocations: 13.98 MB / 424.1 MB, free: 10.59 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 -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