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.001103/0.001103, allocations: 111.7 kB / 17.73 MB, free: 5.359 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.001012/0.001012, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.473/1.473, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001193/0.001193, allocations: 55.91 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09887, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005081/0.104, allocations: 3.341 MB / 378.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2089/0.3129, allocations: 1.387 MB / 379.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.3134, allocations: 5.5 kB / 379.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.317, allocations: 2.666 MB / 382.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.3176, allocations: 165.6 kB / 382.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.3183, allocations: 287.9 kB / 383 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.3206, allocations: 1.792 MB / 384.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.3209, allocations: 138 kB / 384.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.3215, allocations: 315 kB / 385.2 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.3219, allocations: 327.2 kB / 385.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.322, allocations: 44.31 kB / 385.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3222, allocations: 77.48 kB / 385.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.3229, allocations: 0.8426 MB / 386.5 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.3234, allocations: 0.9391 MB / 387.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.326, allocations: 2.61 MB / 390 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.326, allocations: 0 / 390 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.326, allocations: 5 kB / 390.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.741e-05/0.3261, allocations: 0 / 390.1 MB, free: 8.176 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.003736/0.3298, allocations: 2.796 MB / 392.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3299, allocations: 8.812 kB / 392.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.3303, allocations: 276.7 kB / 393.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.3338, allocations: 1.827 MB / 395 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.3339, allocations: 59.03 kB / 395 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.3341, allocations: 49.8 kB / 395.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.3349, allocations: 392.3 kB / 395.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3349, allocations: 1.25 kB / 395.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.335, allocations: 18.73 kB / 395.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.335, allocations: 13.5 kB / 395.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.3356, allocations: 328.4 kB / 395.8 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004395/0.34, allocations: 2.892 MB / 398.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.3406, allocations: 325.2 kB / 399 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.341, allocations: 165.3 kB / 399.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.341, allocations: 4.312 kB / 399.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.341, allocations: 43.5 kB / 399.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.341, allocations: 0 / 399.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004514/0.3456, allocations: 2.357 MB / 401.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3456, allocations: 90.44 kB / 401.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006662/0.3523, allocations: 5.434 MB / 407.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.3523, allocations: 36.7 kB / 407.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.3535, allocations: 1.207 MB / 408.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3536, allocations: 167.1 kB / 408.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3538, allocations: 91.23 kB / 408.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3539, allocations: 333.9 kB / 408.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.3543, allocations: 141.1 kB / 409.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3546, allocations: 220.7 kB / 409.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3553, allocations: 388.3 kB / 409.6 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3554, allocations: 0 / 409.6 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001205/0.3566, allocations: 0.6801 MB / 410.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3566, allocations: 4 kB / 410.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3566, allocations: 4.25 kB / 410.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3566, allocations: 8 kB / 410.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.3572, allocations: 116.6 kB / 410.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.3572, allocations: 7.938 kB / 410.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.3577, allocations: 23.89 kB / 410.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3577, allocations: 19.94 kB / 410.5 MB, free: 11.13 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.001109/0.3588, allocations: 0.9154 MB / 411.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.3592, allocations: 264.5 kB / 411.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3605, allocations: 0.7785 MB / 412.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3606, allocations: 4 kB / 412.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3606, allocations: 7.938 kB / 412.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.3606, allocations: 3.984 kB / 412.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3624, allocations: 1.463 MB / 413.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3624, allocations: 3.938 kB / 413.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.3628, allocations: 99.88 kB / 414 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.3632, allocations: 87.75 kB / 414.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.3632, allocations: 17.11 kB / 414.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005386/0.3638, allocations: 0.6304 MB / 414.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3638, allocations: 0 / 414.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3654, allocations: 1.061 MB / 415.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.3661, allocations: 497.5 kB / 416.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.3663, allocations: 8 kB / 416.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3668, allocations: 27.92 kB / 416.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3669, allocations: 24.39 kB / 416.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3669, allocations: 23.86 kB / 416.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004844/0.3718, allocations: 3.97 MB / 420.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3718, allocations: 0 / 420.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.3728, allocations: 208 kB / 420.6 MB, free: 0.9414 MB / 334.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.001046/0.3738, allocations: 423.5 kB / 421 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008291/0.3747, allocations: 385.2 kB / 421.4 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3747, allocations: 4.188 kB / 421.4 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.3751, allocations: 210.4 kB / 421.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3763, allocations: 191.1 kB / 421.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/0.3837, allocations: 5.404 MB / 427.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.3853, allocations: 1.814 MB / 429 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007777/0.3861, allocations: 275.6 kB / 429.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.3864, allocations: 95.36 kB / 429.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3864, allocations: 0 / 429.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Templates: time 0.03247/0.4189, allocations: 15.47 MB / 444.8 MB, free: 8.648 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/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