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.001556/0.001563, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001707/0.001707, allocations: 191 kB / 18.63 MB, free: 4.508 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.86 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09823, allocations: 49.46 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01789/0.1162, allocations: 16.48 MB / 368 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1647/0.2809, allocations: 4.077 MB / 372.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.284, allocations: 136.9 kB / 372.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01569/0.2998, allocations: 7.442 MB / 379.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.3048, allocations: 1.476 MB / 381.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.3075, allocations: 1.088 MB / 382.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009031/0.3165, allocations: 8.255 MB / 390.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02939/0.346, allocations: 22.52 MB / 413 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/0.3527, allocations: 4.804 MB / 417.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007881/0.3606, allocations: 5.328 MB / 423.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002572/0.3632, allocations: 1.383 MB / 424.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.3672, allocations: 1.637 MB / 426.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002435/0.3697, allocations: 2.59 MB / 428.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00737/0.3771, allocations: 5.22 MB / 434 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.3946, allocations: 18.29 MB / 452.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3946, allocations: 0 / 452.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3946, allocations: 7.938 kB / 452.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003874/0.395, allocations: 0 / 452.2 MB, free: 13.82 MB / 366.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.02885/0.4239, allocations: 10.44 MB / 462.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4239, allocations: 11.89 kB / 462.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.4431, allocations: 3.733 MB / 466.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.4558, allocations: 5.359 MB / 471.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006249/0.4564, allocations: 0.6771 MB / 472.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003452/0.4599, allocations: 0.8976 MB / 473.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/0.4885, allocations: 12.71 MB / 486.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.4888, allocations: 7.906 kB / 486.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.4901, allocations: 380.8 kB / 486.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003372/0.4905, allocations: 399.1 kB / 486.8 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.022/0.5125, allocations: 11.4 MB / 498.3 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06402/0.5765, allocations: 43.1 MB / 0.5287 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3158/0.8924, allocations: 10.49 MB / 0.5389 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/0.8948, allocations: 1.679 MB / 0.5405 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.8951, allocations: 139.2 kB / 0.5407 GB, free: 126.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.8951, allocations: 56.81 kB / 0.5407 GB, free: 126.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 3.737e-06/0.8951, allocations: 1.031 kB / 0.5407 GB, free: 126.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008061/0.9032, allocations: 4.665 MB / 0.5453 GB, free: 125.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.9033, allocations: 77.44 kB / 0.5454 GB, free: 125.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.9077, allocations: 2.925 MB / 0.5482 GB, free: 124.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.9079, allocations: 62.58 kB / 0.5483 GB, free: 124.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.91, allocations: 3.83 MB / 0.552 GB, free: 121.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/0.9106, allocations: 0.7868 MB / 0.5528 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.9118, allocations: 0.9476 MB / 0.5537 GB, free: 120.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.9119, allocations: 302.2 kB / 0.554 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/0.9144, allocations: 1.974 MB / 0.5559 GB, free: 119.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.9175, allocations: 4.161 MB / 0.56 GB, free: 116 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/0.9231, allocations: 6.508 MB / 0.5663 GB, free: 111.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-05/0.9232, allocations: 23.75 kB / 0.5664 GB, free: 111.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008034/0.9312, allocations: 6.502 MB / 0.5727 GB, free: 108.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.9313, allocations: 47.69 kB / 0.5728 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.08e-05/0.9314, allocations: 74.53 kB / 0.5728 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.9321, allocations: 402.3 kB / 0.5732 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.9348, allocations: 1.061 MB / 0.5743 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.9388, allocations: 4.379 MB / 0.5785 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.9415, allocations: 0.6178 MB / 0.5791 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.9418, allocations: 249.5 kB / 0.5794 GB, free: 105.2 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 (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.003661/0.9455, allocations: 3.374 MB / 0.5827 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.9459, allocations: 277.5 kB / 0.5829 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.9502, allocations: 3.57 MB / 0.5864 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003083/0.9533, allocations: 2.807 MB / 0.5892 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9533, allocations: 4 kB / 0.5892 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.9534, allocations: 15.64 kB / 0.5892 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.9656, allocations: 9.854 MB / 0.5988 GB, free: 90.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.9657, allocations: 4 kB / 0.5988 GB, free: 90.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.9671, allocations: 411.4 kB / 0.5992 GB, free: 90.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005572/0.9676, allocations: 312.8 kB / 0.5995 GB, free: 89.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.9678, allocations: 51.92 kB / 0.5995 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.9713, allocations: 4.199 MB / 0.6036 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9713, allocations: 0 / 0.6036 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.9767, allocations: 5.121 MB / 0.6086 GB, free: 80.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.9779, allocations: 0.6102 MB / 0.6092 GB, free: 79.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.9782, allocations: 43.75 kB / 0.6093 GB, free: 79.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9792, allocations: 135.8 kB / 0.6094 GB, free: 79.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.9795, allocations: 141.8 kB / 0.6096 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.9796, allocations: 67.98 kB / 0.6096 GB, free: 79.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.9818, allocations: 1.967 MB / 0.6115 GB, free: 77.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9818, allocations: 0 / 0.6115 GB, free: 77.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004086/0.9859, allocations: 1.959 MB / 0.6135 GB, free: 75.43 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 (215): * Single equations (assignments): 213 * 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 Backend phase and start with SimCode phase: time 0.0003569/0.9863, allocations: 211.7 kB / 0.6137 GB, free: 75.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.9914, allocations: 4.622 MB / 0.6182 GB, free: 70.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9914, allocations: 0 / 0.6182 GB, free: 70.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.9933, allocations: 1.743 MB / 0.6199 GB, free: 68.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.996, allocations: 0.6824 MB / 0.6205 GB, free: 68.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.013, allocations: 13.21 MB / 0.6334 GB, free: 54.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004157/1.017, allocations: 5.649 MB / 0.6389 GB, free: 49.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003153/1.02, allocations: 1.694 MB / 0.6406 GB, free: 47.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.021, allocations: 227.4 kB / 0.6408 GB, free: 47.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/1.021, allocations: 0 / 0.6408 GB, free: 47.35 MB / 446.1 MB Notification: Performance of Templates: time 0.05611/1.077, allocations: 38.19 MB / 0.6781 GB, free: 9.512 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 -s gbode -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