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.001112/0.001112, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.0009834/0.0009835, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009358/0.0009359, allocations: 47.8 kB / 300 MB, free: 6.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07996/0.08091, allocations: 49.44 MB / 349.4 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01523/0.09618, allocations: 16.21 MB / 365.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.1032, allocations: 4.044 MB / 369.7 MB, free: 260 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.1053, allocations: 139.6 kB / 369.8 MB, free: 120 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.157/0.2623, allocations: 7.062 MB / 376.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.2663, allocations: 1.31 MB / 378.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.2686, allocations: 1.008 MB / 379.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006925/0.2756, allocations: 7.877 MB / 387 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02279/0.2984, allocations: 18.9 MB / 405.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00543/0.3038, allocations: 4.283 MB / 410.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.3097, allocations: 5.151 MB / 415.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.3111, allocations: 1.027 MB / 416.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.3136, allocations: 1.275 MB / 417.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.3153, allocations: 2.209 MB / 419.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004789/0.3201, allocations: 4.841 MB / 424.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.3339, allocations: 17.94 MB / 442.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.334, allocations: 0 / 442.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.334, allocations: 8 kB / 442.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.3343, allocations: 0 / 442.7 MB, free: 5.875 MB / 350.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.02192/0.3562, allocations: 10.45 MB / 453.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3562, allocations: 12.03 kB / 453.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.3737, allocations: 3.735 MB / 456.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008085/0.3818, allocations: 5.169 MB / 462 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004877/0.3823, allocations: 0.6814 MB / 462.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.3838, allocations: 0.8958 MB / 463.6 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.4078, allocations: 12.74 MB / 476.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/0.408, allocations: 15.89 kB / 476.4 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.4091, allocations: 379.2 kB / 476.7 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/0.4094, allocations: 395.1 kB / 477.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.4294, allocations: 11.44 MB / 488.6 MB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05977/0.4892, allocations: 43.69 MB / 0.5198 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2999/0.7891, allocations: 10.54 MB / 0.5301 GB, free: 134 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.7931, allocations: 1.72 MB / 0.5318 GB, free: 134 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.7934, allocations: 139.7 kB / 0.5319 GB, free: 133.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.7935, allocations: 56.48 kB / 0.5319 GB, free: 133.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.812e-06/0.7935, allocations: 1.125 kB / 0.5319 GB, free: 133.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.01481/0.8083, allocations: 4.783 MB / 0.5366 GB, free: 132.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.8084, allocations: 74.81 kB / 0.5367 GB, free: 132.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006483/0.8149, allocations: 2.923 MB / 0.5395 GB, free: 131.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.8151, allocations: 61.8 kB / 0.5396 GB, free: 131.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002709/0.8179, allocations: 3.826 MB / 0.5433 GB, free: 128.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008466/0.8187, allocations: 0.808 MB / 0.5441 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/0.8207, allocations: 0.9589 MB / 0.5451 GB, free: 127.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.8208, allocations: 301.1 kB / 0.5453 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004634/0.8254, allocations: 2.008 MB / 0.5473 GB, free: 126.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00558/0.831, allocations: 4.198 MB / 0.5514 GB, free: 123.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.8417, allocations: 6.592 MB / 0.5578 GB, free: 118.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.031e-05/0.8418, allocations: 27.56 kB / 0.5579 GB, free: 118.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01576/0.8576, allocations: 6.576 MB / 0.5643 GB, free: 115.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8577, allocations: 37.22 kB / 0.5643 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/0.8579, allocations: 79.02 kB / 0.5644 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.8594, allocations: 409.9 kB / 0.5648 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/0.8653, allocations: 1.065 MB / 0.5658 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00695/0.8723, allocations: 4.056 MB / 0.5698 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005076/0.8774, allocations: 0.624 MB / 0.5704 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/0.878, allocations: 247.4 kB / 0.5706 GB, free: 112.5 MB / 446.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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006731/0.8847, allocations: 3.371 MB / 0.5739 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/0.8855, allocations: 272.7 kB / 0.5742 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008698/0.8942, allocations: 3.669 MB / 0.5778 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006288/0.9006, allocations: 2.893 MB / 0.5806 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.9006, allocations: 4 kB / 0.5806 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.9006, allocations: 11.3 kB / 0.5806 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/0.9211, allocations: 10.06 MB / 0.5904 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.9212, allocations: 4 kB / 0.5904 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/0.9236, allocations: 411.4 kB / 0.5908 GB, free: 97.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.9247, allocations: 315.9 kB / 0.5911 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.9249, allocations: 51.98 kB / 0.5912 GB, free: 97.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/0.9312, allocations: 3.875 MB / 0.595 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9312, allocations: 4 kB / 0.595 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.9414, allocations: 5.256 MB / 0.6001 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.9429, allocations: 0.6142 MB / 0.6007 GB, free: 87.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.9434, allocations: 51.25 kB / 0.6008 GB, free: 87.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.9455, allocations: 135.9 kB / 0.6009 GB, free: 86.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.9459, allocations: 149.8 kB / 0.601 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.9461, allocations: 63.98 kB / 0.6011 GB, free: 86.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003491/0.9496, allocations: 1.963 MB / 0.603 GB, free: 84.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9496, allocations: 0 / 0.603 GB, free: 84.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006598/0.9562, allocations: 1.962 MB / 0.6049 GB, free: 82.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0005479/0.9568, allocations: 219 kB / 0.6051 GB, free: 82.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009264/0.9661, allocations: 4.699 MB / 0.6097 GB, free: 77.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.9661, allocations: 0 / 0.6097 GB, free: 77.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00328/0.9694, allocations: 1.783 MB / 0.6115 GB, free: 76.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/0.9743, allocations: 0.6376 MB / 0.6121 GB, free: 75.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/1.004, allocations: 17.01 MB / 0.6287 GB, free: 58.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007734/1.012, allocations: 5.652 MB / 0.6342 GB, free: 52.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007015/1.019, allocations: 1.706 MB / 0.6359 GB, free: 51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.02, allocations: 227.4 kB / 0.6361 GB, free: 50.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/1.02, allocations: 0 / 0.6361 GB, free: 50.77 MB / 446.1 MB Notification: Performance of Templates: time 0.0915/1.112, allocations: 41.07 MB / 0.6762 GB, free: 9.953 MB / 446.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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