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.001306/0.001306, allocations: 108.4 kB / 18.4 MB, free: 4.68 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.001054/0.001054, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.00122/0.00122, allocations: 55.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07996/0.08119, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004896/0.08611, allocations: 3.337 MB / 379.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.2385, allocations: 1.387 MB / 380.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.2388, allocations: 6.719 kB / 380.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003566/0.2425, allocations: 2.667 MB / 383.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.243, allocations: 167.5 kB / 383.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.2437, allocations: 285.8 kB / 383.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.2462, allocations: 1.798 MB / 385.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2464, allocations: 135.9 kB / 385.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.247, allocations: 311.5 kB / 385.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.2476, allocations: 328.2 kB / 386.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.2477, allocations: 43.94 kB / 386.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.248, allocations: 78.31 kB / 386.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.2487, allocations: 0.8429 MB / 387.2 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2499, allocations: 0.939 MB / 388.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.2526, allocations: 2.605 MB / 390.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2527, allocations: 3.938 kB / 390.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2527, allocations: 1.156 kB / 390.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.2528, allocations: 0 / 390.7 MB, free: 8.18 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.004343/0.2571, allocations: 2.795 MB / 393.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2572, allocations: 9.344 kB / 393.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.2575, allocations: 276.1 kB / 393.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.2596, allocations: 1.821 MB / 395.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.2597, allocations: 64.75 kB / 395.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.2599, allocations: 48.56 kB / 395.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.2605, allocations: 403.6 kB / 396.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2606, allocations: 1.375 kB / 396.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.2606, allocations: 14.75 kB / 396.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2606, allocations: 8.25 kB / 396.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.2613, allocations: 328.2 kB / 396.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.2647, allocations: 2.9 MB / 399.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.2652, allocations: 317.2 kB / 399.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.2655, allocations: 167 kB / 399.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.2656, allocations: 10.61 kB / 399.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2656, allocations: 37.66 kB / 399.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.164e-06/0.2656, allocations: 4 kB / 399.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004152/0.2698, allocations: 2.354 MB / 402.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.2698, allocations: 89.61 kB / 402.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/0.2757, allocations: 5.437 MB / 407.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2757, allocations: 35.77 kB / 407.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.2768, allocations: 1.213 MB / 409 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2769, allocations: 161.2 kB / 409.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.277, allocations: 90.16 kB / 409.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2772, allocations: 329.9 kB / 409.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.2775, allocations: 145 kB / 409.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.2778, allocations: 213.7 kB / 409.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.2785, allocations: 382.2 kB / 410.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2785, allocations: 4 kB / 410.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00113/0.2797, allocations: 0.6878 MB / 411 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2797, allocations: 4 kB / 411 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2797, allocations: 4 kB / 411 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2797, allocations: 4.25 kB / 411 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2802, allocations: 123.8 kB / 411.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2803, allocations: 4 kB / 411.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.2807, allocations: 23.89 kB / 411.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2807, allocations: 16 kB / 411.2 MB, free: 11.14 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.0009406/0.2817, allocations: 0.923 MB / 412.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.282, allocations: 264.5 kB / 412.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2833, allocations: 0.7786 MB / 413.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2834, allocations: 0 / 413.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2834, allocations: 0 / 413.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.284, allocations: 497.4 kB / 413.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.2843, allocations: 12 kB / 413.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.2848, allocations: 15.98 kB / 413.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.2848, allocations: 36.39 kB / 413.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/0.2862, allocations: 0.6526 MB / 414.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001465/0.2877, allocations: 1.079 MB / 415.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003285/0.288, allocations: 179.4 kB / 415.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004439/0.2925, allocations: 3.97 MB / 419.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of Backend: time 5.11e-07/0.2925, allocations: 0 / 419.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2947, allocations: 1.096 MB / 420.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of SimCode: time 0.006405/0.3011, allocations: 5.525 MB / 426.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Templates: time 0.02975/0.3309, allocations: 16.53 MB / 442.7 MB, free: 11.51 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/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