Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008029/0.0008028, allocations: 94.33 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004063/0.2821, allocations: 2.87 MB / 378 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2844, allocations: 1.321 MB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.2846, allocations: 4.75 kB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.2867, allocations: 1.714 MB / 381 MB, free: 41.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.2871, allocations: 141.7 kB / 381.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.2878, allocations: 230 kB / 381.4 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.2894, allocations: 1.404 MB / 382.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2896, allocations: 111.9 kB / 382.9 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.29, allocations: 288.6 kB / 383.2 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.2904, allocations: 302.9 kB / 383.5 MB, free: 40.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.2905, allocations: 23.03 kB / 383.5 MB, free: 40.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2907, allocations: 50.42 kB / 383.5 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005499/0.2912, allocations: 0.8363 MB / 384.4 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.2917, allocations: 0.8512 MB / 385.2 MB, free: 38.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2928, allocations: 2.083 MB / 387.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2928, allocations: 0 / 387.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2928, allocations: 0 / 387.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.2928, allocations: 4 kB / 387.3 MB, free: 36.47 MB / 298.7 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.002519/0.2954, allocations: 2.411 MB / 389.7 MB, free: 34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2954, allocations: 8.031 kB / 389.7 MB, free: 33.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2956, allocations: 281.4 kB / 390 MB, free: 33.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.2974, allocations: 1.82 MB / 391.8 MB, free: 31.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.2975, allocations: 63.25 kB / 391.9 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.2976, allocations: 51.92 kB / 391.9 MB, free: 31.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.2982, allocations: 395 kB / 392.3 MB, free: 31.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2983, allocations: 3.938 kB / 392.3 MB, free: 31.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2983, allocations: 16 kB / 392.3 MB, free: 31.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2983, allocations: 8 kB / 392.3 MB, free: 31.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.2989, allocations: 327.8 kB / 392.7 MB, free: 30.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.302, allocations: 2.915 MB / 395.6 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.3025, allocations: 315.5 kB / 395.9 MB, free: 27.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.3028, allocations: 161.5 kB / 396 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3028, allocations: 11.92 kB / 396.1 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.3029, allocations: 51.03 kB / 396.1 MB, free: 27.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.3029, allocations: 0 / 396.1 MB, free: 27.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003752/0.3066, allocations: 2.37 MB / 398.5 MB, free: 24.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.3067, allocations: 85.48 kB / 398.6 MB, free: 24.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/0.3112, allocations: 5.442 MB / 404 MB, free: 19.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.3113, allocations: 37.7 kB / 404 MB, free: 19.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007577/0.3121, allocations: 1.207 MB / 405.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3122, allocations: 169.5 kB / 405.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3122, allocations: 8 kB / 405.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3123, allocations: 326 kB / 405.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.3126, allocations: 137 kB / 405.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.3129, allocations: 225.7 kB / 406.1 MB, free: 17.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.3135, allocations: 372.3 kB / 406.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3135, allocations: 4 kB / 406.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00102/0.3145, allocations: 0.684 MB / 407.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3146, allocations: 7.938 kB / 407.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3146, allocations: 4 kB / 407.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3146, allocations: 4.25 kB / 407.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.3151, allocations: 127.8 kB / 407.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3151, allocations: 7.984 kB / 407.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.3155, allocations: 23.88 kB / 407.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3155, allocations: 16 kB / 407.3 MB, free: 16 MB / 298.7 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.0008184/0.3163, allocations: 0.9153 MB / 408.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.3166, allocations: 272.4 kB / 408.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3177, allocations: 0.7786 MB / 409.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3177, allocations: 8 kB / 409.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3177, allocations: 0 / 409.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3178, allocations: 7.969 kB / 409.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.319, allocations: 1.473 MB / 410.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.319, allocations: 4 kB / 410.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.3194, allocations: 99.88 kB / 410.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/0.3197, allocations: 80.8 kB / 411 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.3198, allocations: 8 kB / 411 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.3202, allocations: 0.642 MB / 411.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3202, allocations: 0 / 411.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3215, allocations: 1.065 MB / 412.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.322, allocations: 493.6 kB / 413.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.3222, allocations: 12 kB / 413.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.3226, allocations: 15.98 kB / 413.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3227, allocations: 36.39 kB / 413.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.3227, allocations: 15.98 kB / 413.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003714/0.3264, allocations: 3.985 MB / 417.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.3265, allocations: 0 / 417.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.3272, allocations: 207.9 kB / 417.4 MB, free: 5.762 MB / 298.7 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.0008989/0.3281, allocations: 411.3 kB / 417.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.3289, allocations: 380.9 kB / 418.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3289, allocations: 0 / 418.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.3293, allocations: 219.3 kB / 418.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3304, allocations: 187.3 kB / 418.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00698/0.3374, allocations: 6.128 MB / 424.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.3391, allocations: 1.814 MB / 426.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.3396, allocations: 95.42 kB / 426.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3396, allocations: 0 / 426.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of Templates: time 0.0567/0.3963, allocations: 35.31 MB / 461.9 MB, free: 9.133 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches