Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 112.7 kB / 17.75 MB, free: 5.309 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.002202/0.002202, allocations: 187 kB / 18.67 MB, free: 4.395 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009439/0.0009439, allocations: 55.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2369, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.03262/0.2696, allocations: 16.5 MB / 417.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2819, allocations: 4.075 MB / 422 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.2836, allocations: 135.6 kB / 422.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02596/0.3096, allocations: 7.46 MB / 429.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.3162, allocations: 1.499 MB / 431.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.32, allocations: 1.088 MB / 432.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01274/0.3328, allocations: 8.253 MB / 440.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0288/0.3616, allocations: 22.51 MB / 462.9 MB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005164/0.3668, allocations: 4.812 MB / 467.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.3735, allocations: 5.33 MB / 473.1 MB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.3754, allocations: 1.387 MB / 474.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.3781, allocations: 1.636 MB / 476.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.3802, allocations: 2.588 MB / 478.7 MB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005145/0.3854, allocations: 5.211 MB / 483.9 MB, free: 5.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.4004, allocations: 18.3 MB / 0.4904 GB, free: 3.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.4004, allocations: 0 / 0.4904 GB, free: 3.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4004, allocations: 3.938 kB / 0.4904 GB, free: 3.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002748/0.4007, allocations: 0 / 0.4904 GB, free: 3.633 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02348/0.4242, allocations: 10.44 MB / 0.5006 GB, free: 9.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4242, allocations: 15.83 kB / 0.5006 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/0.4428, allocations: 3.729 MB / 0.5043 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.4534, allocations: 5.359 MB / 0.5095 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004931/0.4539, allocations: 0.6785 MB / 0.5102 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.4558, allocations: 0.8905 MB / 0.5111 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.4779, allocations: 12.72 MB / 0.5235 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.4781, allocations: 11.94 kB / 0.5235 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008989/0.479, allocations: 376 kB / 0.5238 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.4793, allocations: 395.1 kB / 0.5242 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.4973, allocations: 11.42 MB / 0.5354 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3801/0.8775, allocations: 43.08 MB / 0.5774 GB, free: 93.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007799/0.8853, allocations: 10.49 MB / 0.5877 GB, free: 83.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.8872, allocations: 1.679 MB / 0.5893 GB, free: 81.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.8873, allocations: 130.6 kB / 0.5895 GB, free: 81.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.8874, allocations: 56.56 kB / 0.5895 GB, free: 81.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.829e-06/0.8874, allocations: 3.984 kB / 0.5895 GB, free: 81.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006984/0.8944, allocations: 4.669 MB / 0.5941 GB, free: 76.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.8944, allocations: 81.34 kB / 0.5942 GB, free: 76.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.8974, allocations: 2.922 MB / 0.597 GB, free: 73.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.8975, allocations: 61.7 kB / 0.5971 GB, free: 73.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.8987, allocations: 3.832 MB / 0.6008 GB, free: 69.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.8991, allocations: 0.7991 MB / 0.6016 GB, free: 68.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009673/0.9001, allocations: 0.9443 MB / 0.6025 GB, free: 67.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.035e-05/0.9001, allocations: 301.1 kB / 0.6028 GB, free: 67.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.9023, allocations: 1.973 MB / 0.6047 GB, free: 65.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.905, allocations: 4.152 MB / 0.6088 GB, free: 60.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.9101, allocations: 6.505 MB / 0.6151 GB, free: 52.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/0.9102, allocations: 27.94 kB / 0.6152 GB, free: 52.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007493/0.9177, allocations: 6.499 MB / 0.6215 GB, free: 46.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.9177, allocations: 36 kB / 0.6215 GB, free: 46.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-05/0.9178, allocations: 76 kB / 0.6216 GB, free: 46.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.9185, allocations: 412.8 kB / 0.622 GB, free: 45.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.9213, allocations: 1.065 MB / 0.623 GB, free: 44.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.9253, allocations: 4.374 MB / 0.6273 GB, free: 40.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.9278, allocations: 0.6192 MB / 0.6279 GB, free: 39.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.9281, allocations: 256 kB / 0.6282 GB, free: 39.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004182/0.9323, allocations: 3.361 MB / 0.6314 GB, free: 35.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.9327, allocations: 284.5 kB / 0.6317 GB, free: 35.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.9373, allocations: 3.577 MB / 0.6352 GB, free: 32.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.9373, allocations: 11.95 kB / 0.6352 GB, free: 32.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.9373, allocations: 4 kB / 0.6352 GB, free: 32.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.9383, allocations: 0.6025 MB / 0.6358 GB, free: 31.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.9386, allocations: 40 kB / 0.6359 GB, free: 31.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9396, allocations: 131.8 kB / 0.636 GB, free: 31.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.9399, allocations: 149.8 kB / 0.6361 GB, free: 31.08 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004268/0.9442, allocations: 3.304 MB / 0.6393 GB, free: 27.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004741/0.9489, allocations: 4.57 MB / 0.6438 GB, free: 23.21 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001332/0.9503, allocations: 1.351 MB / 0.6451 GB, free: 21.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002193/0.9525, allocations: 1.955 MB / 0.647 GB, free: 19.89 MB / 462.1 MB Notification: Performance of Backend: time 3.51e-07/0.9525, allocations: 4 kB / 0.647 GB, free: 19.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005126/0.9576, allocations: 3.684 MB / 0.6506 GB, free: 16.21 MB / 462.1 MB Notification: Performance of SimCode: time 0.01667/0.9743, allocations: 13.18 MB / 0.6635 GB, free: 2.973 MB / 462.1 MB Notification: Performance of Templates: time 0.08167/1.056, allocations: 49.7 MB / 0.7121 GB, free: 1.465 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches