Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008975/0.0008976, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.0009293/0.0009294, allocations: 181.6 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8.125 kB / 300.7 MB, free: 5.949 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09096, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003459/0.09447, allocations: 2.772 MB / 353.9 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.0967, allocations: 1.369 MB / 355.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.09691, allocations: 8 kB / 355.3 MB, free: 7.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.09953, allocations: 2.101 MB / 357.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.1001, allocations: 175.5 kB / 357.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.1008, allocations: 250.6 kB / 357.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1023, allocations: 1.467 MB / 359.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1025, allocations: 110.7 kB / 359.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.1028, allocations: 287.1 kB / 359.7 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1032, allocations: 299 kB / 360 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.1032, allocations: 20 kB / 360 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1034, allocations: 55.92 kB / 360 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.1039, allocations: 0.8298 MB / 360.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.1042, allocations: 384.3 kB / 361.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1056, allocations: 2.085 MB / 363.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1056, allocations: 0 / 363.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1057, allocations: 0 / 363.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.1057, allocations: 8 kB / 363.3 MB, free: 15.5 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.003276/0.109, allocations: 2.434 MB / 365.8 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.109, allocations: 8.031 kB / 365.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.1093, allocations: 288.2 kB / 366 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.1117, allocations: 1.685 MB / 367.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/0.1118, allocations: 58.7 kB / 367.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.112, allocations: 51.91 kB / 367.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.1127, allocations: 387 kB / 368.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1127, allocations: 4 kB / 368.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1128, allocations: 15.95 kB / 368.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1128, allocations: 12 kB / 368.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.1135, allocations: 335.7 kB / 368.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.1176, allocations: 2.911 MB / 371.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.1182, allocations: 315.2 kB / 371.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.1183, allocations: 11.97 kB / 371.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1183, allocations: 38.56 kB / 371.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.024e-06/0.1183, allocations: 4 kB / 371.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004645/0.123, allocations: 2.403 MB / 374.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1231, allocations: 85.48 kB / 374.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005841/0.1289, allocations: 5.439 MB / 379.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.129, allocations: 37.7 kB / 379.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.13, allocations: 1.207 MB / 381 MB, free: 13.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1302, allocations: 169.6 kB / 381.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.1302, allocations: 12 kB / 381.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1303, allocations: 326 kB / 381.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1307, allocations: 137.1 kB / 381.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.131, allocations: 217.7 kB / 381.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1314, allocations: 172.7 kB / 382 MB, free: 12.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1314, allocations: 0 / 382 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001119/0.1325, allocations: 0.6801 MB / 382.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1325, allocations: 8.25 kB / 382.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1326, allocations: 7.984 kB / 382.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1326, allocations: 4 kB / 382.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.1331, allocations: 119.8 kB / 382.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1331, allocations: 4 kB / 382.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.1335, allocations: 23.89 kB / 382.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.1336, allocations: 23.95 kB / 382.9 MB, free: 11.51 MB / 318.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.001007/0.1346, allocations: 0.927 MB / 383.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.1349, allocations: 268.5 kB / 384.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1363, allocations: 0.7864 MB / 384.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1363, allocations: 8 kB / 384.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1363, allocations: 0 / 384.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1363, allocations: 7.984 kB / 384.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1379, allocations: 1.477 MB / 386.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1379, allocations: 0 / 386.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.1383, allocations: 95.88 kB / 386.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/0.1387, allocations: 96.78 kB / 386.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.1387, allocations: 11.98 kB / 386.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005004/0.1392, allocations: 0.6344 MB / 387.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1392, allocations: 3.984 kB / 387.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1409, allocations: 1.106 MB / 388.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.1417, allocations: 0.4936 MB / 388.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.1419, allocations: 12 kB / 388.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.1424, allocations: 23.98 kB / 388.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.1425, allocations: 24.39 kB / 388.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.1425, allocations: 16 kB / 388.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004754/0.1473, allocations: 3.981 MB / 392.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1473, allocations: 0 / 392.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008688/0.1482, allocations: 208 kB / 393.1 MB, free: 1.199 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 (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.0008937/0.1491, allocations: 420.5 kB / 393.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008408/0.1499, allocations: 385.1 kB / 393.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1499, allocations: 4 kB / 393.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.1504, allocations: 210.4 kB / 394.1 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.1513, allocations: 167.7 kB / 394.2 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007683/0.159, allocations: 5.93 MB / 400.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.1606, allocations: 1.861 MB / 402 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006014/0.1612, allocations: 271.6 kB / 402.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.1614, allocations: 87.42 kB / 402.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1614, allocations: 4 kB / 402.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of Templates: time 0.02551/0.187, allocations: 13.9 MB / 416.3 MB, free: 10.11 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches