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.001542/0.001542, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.97 kB / 306.9 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08646, allocations: 50.55 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004586/0.09108, allocations: 3.424 MB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.09353, allocations: 1.664 MB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.09374, allocations: 8 kB / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.0965, allocations: 2.671 MB / 365.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.09723, allocations: 214.6 kB / 365.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.09801, allocations: 318.6 kB / 365.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.09958, allocations: 1.817 MB / 367.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.09981, allocations: 139.7 kB / 367.7 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.1002, allocations: 317 kB / 368 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.1005, allocations: 330.8 kB / 368.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.1006, allocations: 44 kB / 368.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1009, allocations: 95.97 kB / 368.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.1014, allocations: 0.8452 MB / 369.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.102, allocations: 0.9385 MB / 370.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1477/0.2497, allocations: 2.601 MB / 372.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2498, allocations: 0.5312 kB / 372.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2498, allocations: 0 / 372.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-05/0.2498, allocations: 0.6562 kB / 372.9 MB, free: 13.04 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.004344/0.2542, allocations: 2.817 MB / 375.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2542, allocations: 9.469 kB / 375.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004503/0.2547, allocations: 290 kB / 376 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.257, allocations: 1.83 MB / 377.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.2571, allocations: 56.95 kB / 377.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.2572, allocations: 52.69 kB / 377.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.258, allocations: 395.8 kB / 378.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.258, allocations: 2.062 kB / 378.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.258, allocations: 13.91 kB / 378.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2581, allocations: 9.938 kB / 378.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.2588, allocations: 331.9 kB / 378.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.263, allocations: 2.909 MB / 381.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.2636, allocations: 325.1 kB / 381.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.2639, allocations: 165.5 kB / 382.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.264, allocations: 4.969 kB / 382.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.264, allocations: 43.81 kB / 382.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.394e-06/0.264, allocations: 0 / 382.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005012/0.269, allocations: 2.396 MB / 384.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2691, allocations: 84.39 kB / 384.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006878/0.276, allocations: 5.458 MB / 390 MB, free: 6.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.2761, allocations: 34.84 kB / 390.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009136/0.277, allocations: 1.181 MB / 391.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2771, allocations: 171.3 kB / 391.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.2773, allocations: 91.3 kB / 391.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.2773, allocations: 325.8 kB / 391.8 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2776, allocations: 140.3 kB / 392 MB, free: 4.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.278, allocations: 223.9 kB / 392.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.2786, allocations: 385.7 kB / 392.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2786, allocations: 0 / 392.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001361/0.28, allocations: 0.6891 MB / 393.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.28, allocations: 4.875 kB / 393.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2801, allocations: 2.531 kB / 393.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2801, allocations: 10.27 kB / 393.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.2806, allocations: 119.8 kB / 393.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2806, allocations: 6.844 kB / 393.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.2811, allocations: 18.64 kB / 393.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.2812, allocations: 17.62 kB / 393.4 MB, free: 3.852 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.00101/0.2822, allocations: 0.9186 MB / 394.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.2824, allocations: 275.7 kB / 394.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.2837, allocations: 0.7975 MB / 395.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2837, allocations: 9.609 kB / 395.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2837, allocations: 3.125 kB / 395.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2838, allocations: 2.953 kB / 395.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.2853, allocations: 1.471 MB / 396.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2853, allocations: 4 kB / 396.9 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.2857, allocations: 96.44 kB / 397 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.286, allocations: 95.62 kB / 397.1 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.2861, allocations: 15.14 kB / 397.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/0.2865, allocations: 0.6395 MB / 397.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2865, allocations: 0 / 397.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.2879, allocations: 1.087 MB / 398.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.2885, allocations: 490.7 kB / 399.3 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.2887, allocations: 13.69 kB / 399.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.2892, allocations: 15.36 kB / 399.3 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.2893, allocations: 30.86 kB / 399.4 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.2893, allocations: 19.81 kB / 399.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004382/0.2937, allocations: 3.988 MB / 403.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2937, allocations: 0 / 403.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007189/0.2944, allocations: 208 kB / 403.6 MB, free: 12.57 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.0009605/0.2954, allocations: 416.9 kB / 404 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.2963, allocations: 416.6 kB / 404.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2963, allocations: 0 / 404.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.2968, allocations: 210.9 kB / 404.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.2978, allocations: 191.8 kB / 404.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.3045, allocations: 5.48 MB / 410.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.306, allocations: 1.818 MB / 412.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.3066, allocations: 279.2 kB / 412.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.3068, allocations: 91.42 kB / 412.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3068, allocations: 0 / 412.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Templates: time 0.03351/0.3404, allocations: 15.33 MB / 427.8 MB, free: 4.559 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