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.0007767/0.0007767, allocations: 92.34 kB / 17.31 MB, free: 5.59 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.0008368/0.0008368, allocations: 175.4 kB / 18.21 MB, free: 5.191 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.126/1.126, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001997/0.0001996, allocations: 4 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07108/0.07129, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.013/0.08431, allocations: 15.32 MB / 367.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.09054, allocations: 4.009 MB / 371.8 MB, free: 280 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.09232, allocations: 127.6 kB / 372 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1181/0.2105, allocations: 1.003 MB / 373 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.2147, allocations: 1.303 MB / 374.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.217, allocations: 0.9977 MB / 375.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006798/0.2238, allocations: 7.869 MB / 383.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02638/0.2502, allocations: 22.11 MB / 405.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.2544, allocations: 3.285 MB / 408.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.2594, allocations: 3.863 MB / 412.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.2601, allocations: 0.5469 MB / 412.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.2621, allocations: 0.7997 MB / 413.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.2632, allocations: 1.519 MB / 415.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.2666, allocations: 4.062 MB / 419.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.2767, allocations: 15.5 MB / 434.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2767, allocations: 3.938 kB / 434.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2767, allocations: 4 kB / 434.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.2769, allocations: 0 / 434.8 MB, free: 14.75 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.01666/0.2935, allocations: 8.512 MB / 443.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2936, allocations: 8.031 kB / 443.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.3094, allocations: 3.747 MB / 447.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/0.3157, allocations: 5.182 MB / 452.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.3161, allocations: 0.6779 MB / 452.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.3173, allocations: 0.8898 MB / 453.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.3348, allocations: 12.74 MB / 466.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.335, allocations: 11.89 kB / 466.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007846/0.3357, allocations: 375.8 kB / 467 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/0.336, allocations: 395.1 kB / 467.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.3514, allocations: 11.43 MB / 478.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/0.3968, allocations: 43.83 MB / 0.5104 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009005/0.4059, allocations: 10.53 MB / 0.5206 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.4078, allocations: 1.718 MB / 0.5223 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.408, allocations: 145.1 kB / 0.5225 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.408, allocations: 52.56 kB / 0.5225 GB, free: 8.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 3.737e-06/0.4081, allocations: 0 / 0.5225 GB, free: 8.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.007432/0.4155, allocations: 4.807 MB / 0.5272 GB, free: 3.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4156, allocations: 73.41 kB / 0.5273 GB, free: 3.324 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.4187, allocations: 2.926 MB / 0.5301 GB, free: 388 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.4188, allocations: 61.7 kB / 0.5302 GB, free: 320 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2472/0.666, allocations: 3.821 MB / 0.5339 GB, free: 132.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008202/0.6669, allocations: 0.8077 MB / 0.5347 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007677/0.6677, allocations: 377.5 kB / 0.5351 GB, free: 132.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.6677, allocations: 305.8 kB / 0.5354 GB, free: 132.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.6705, allocations: 2.008 MB / 0.5373 GB, free: 132 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003523/0.674, allocations: 4.199 MB / 0.5414 GB, free: 128.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/0.6801, allocations: 6.591 MB / 0.5479 GB, free: 123.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-05/0.6801, allocations: 21.56 kB / 0.5479 GB, free: 123.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.007788/0.6879, allocations: 6.586 MB / 0.5543 GB, free: 120.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.688, allocations: 35.75 kB / 0.5543 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-05/0.6881, allocations: 74.56 kB / 0.5544 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.6888, allocations: 414.7 kB / 0.5548 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.6913, allocations: 1.063 MB / 0.5558 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.6946, allocations: 4.065 MB / 0.5598 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.6967, allocations: 0.6243 MB / 0.5604 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.697, allocations: 245.5 kB / 0.5607 GB, free: 117.7 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.003293/0.7003, allocations: 3.381 MB / 0.564 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.7006, allocations: 270 kB / 0.5642 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.7047, allocations: 3.665 MB / 0.5678 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002912/0.7077, allocations: 2.887 MB / 0.5706 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7077, allocations: 3.688 kB / 0.5706 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.7077, allocations: 11.44 kB / 0.5706 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009809/0.7175, allocations: 10.06 MB / 0.5805 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7175, allocations: 6.672 kB / 0.5805 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.7188, allocations: 411.5 kB / 0.5809 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.7193, allocations: 311.6 kB / 0.5812 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.7194, allocations: 51.92 kB / 0.5812 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.7224, allocations: 3.901 MB / 0.585 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7224, allocations: 4 kB / 0.585 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.7272, allocations: 5.256 MB / 0.5902 GB, free: 98.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.7279, allocations: 0.6219 MB / 0.5908 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.7281, allocations: 44 kB / 0.5908 GB, free: 97.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/0.7291, allocations: 133.3 kB / 0.5909 GB, free: 97.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.7293, allocations: 149.7 kB / 0.5911 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/0.7294, allocations: 64.06 kB / 0.5911 GB, free: 97.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.7311, allocations: 1.967 MB / 0.5931 GB, free: 95.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7311, allocations: 0 / 0.5931 GB, free: 95.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003109/0.7342, allocations: 1.961 MB / 0.595 GB, free: 93.35 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.0002881/0.7345, allocations: 221.3 kB / 0.5952 GB, free: 93.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.7388, allocations: 4.699 MB / 0.5998 GB, free: 88.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7389, allocations: 448 / 0.5998 GB, free: 88.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.7405, allocations: 1.785 MB / 0.6015 GB, free: 86.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.7432, allocations: 0.6458 MB / 0.6021 GB, free: 86.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.7567, allocations: 16.79 MB / 0.6185 GB, free: 69.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/0.7602, allocations: 5.482 MB / 0.6239 GB, free: 63.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.7608, allocations: 267.4 kB / 0.6241 GB, free: 63.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.7608, allocations: 0 / 0.6241 GB, free: 63.38 MB / 446.1 MB Notification: Performance of Templates: time 0.2392/1, allocations: 130.6 MB / 0.7517 GB, free: 110.4 MB / 462.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/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