Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.52 kB / 307 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09561, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1689/0.2646, allocations: 16.5 MB / 374 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.2738, allocations: 4.142 MB / 378.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.277, allocations: 138 kB / 378.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01449/0.2915, allocations: 7.439 MB / 385.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.2969, allocations: 1.313 MB / 387.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.3002, allocations: 1.243 MB / 388.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008139/0.3083, allocations: 8.18 MB / 396.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03304/0.3414, allocations: 22.62 MB / 419.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007584/0.349, allocations: 4.801 MB / 423.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009078/0.3581, allocations: 5.326 MB / 429.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003068/0.3612, allocations: 1.383 MB / 430.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.3656, allocations: 1.66 MB / 432.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002764/0.3684, allocations: 2.584 MB / 434.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007171/0.3756, allocations: 5.222 MB / 440.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.3948, allocations: 18.2 MB / 458.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3949, allocations: 12 kB / 458.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3949, allocations: 0 / 458.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005021/0.3954, allocations: 0 / 458.3 MB, free: 7.059 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.03004/0.4254, allocations: 10.44 MB / 468.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4255, allocations: 12.03 kB / 468.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/0.4457, allocations: 3.662 MB / 472.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.4575, allocations: 5.18 MB / 477.6 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007636/0.4583, allocations: 0.6823 MB / 478.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003063/0.4614, allocations: 0.8944 MB / 479.2 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/0.4938, allocations: 12.73 MB / 491.9 MB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/0.4941, allocations: 11.91 kB / 491.9 MB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/0.4964, allocations: 376 kB / 492.3 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004267/0.4969, allocations: 399.1 kB / 492.7 MB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.5218, allocations: 11.43 MB / 0.4923 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3917/0.9136, allocations: 44.16 MB / 0.5354 GB, free: 99.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009303/0.9229, allocations: 10.51 MB / 0.5457 GB, free: 91.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.9252, allocations: 1.684 MB / 0.5473 GB, free: 91.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.9254, allocations: 235.5 kB / 0.5475 GB, free: 91.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.9255, allocations: 57.38 kB / 0.5476 GB, free: 91.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.168e-06/0.9255, allocations: 0 / 0.5476 GB, free: 91.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007796/0.9333, allocations: 4.676 MB / 0.5522 GB, free: 91.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.9333, allocations: 78.38 kB / 0.5522 GB, free: 91.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.9368, allocations: 2.925 MB / 0.5551 GB, free: 91.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.9369, allocations: 62.73 kB / 0.5551 GB, free: 91.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.9383, allocations: 3.825 MB / 0.5589 GB, free: 88.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/0.9387, allocations: 0.7942 MB / 0.5597 GB, free: 88.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/0.9399, allocations: 0.9554 MB / 0.5606 GB, free: 88.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.94, allocations: 307.9 kB / 0.5609 GB, free: 88.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.9422, allocations: 1.974 MB / 0.5628 GB, free: 88.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.9452, allocations: 4.161 MB / 0.5669 GB, free: 85.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.9505, allocations: 6.522 MB / 0.5732 GB, free: 82.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.9505, allocations: 25.91 kB / 0.5733 GB, free: 82.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007734/0.9582, allocations: 6.518 MB / 0.5796 GB, free: 80.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.9583, allocations: 36 kB / 0.5797 GB, free: 80.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-05/0.9584, allocations: 82.06 kB / 0.5797 GB, free: 80.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.9592, allocations: 414.6 kB / 0.5801 GB, free: 80.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.9619, allocations: 1.062 MB / 0.5812 GB, free: 80.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.9659, allocations: 4.385 MB / 0.5855 GB, free: 77.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.9686, allocations: 0.6118 MB / 0.5861 GB, free: 77.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.9688, allocations: 251.6 kB / 0.5863 GB, free: 77.22 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.004333/0.9732, allocations: 3.371 MB / 0.5896 GB, free: 75.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.9737, allocations: 271.5 kB / 0.5898 GB, free: 75.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.9785, allocations: 3.587 MB / 0.5934 GB, free: 73.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003569/0.9821, allocations: 2.814 MB / 0.5961 GB, free: 71.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.9821, allocations: 4 kB / 0.5961 GB, free: 71.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.9821, allocations: 14.39 kB / 0.5961 GB, free: 71.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.9998, allocations: 9.951 MB / 0.6058 GB, free: 61.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.9998, allocations: 5.875 kB / 0.6058 GB, free: 61.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.001, allocations: 417.5 kB / 0.6062 GB, free: 61.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006675/1.002, allocations: 324.9 kB / 0.6065 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.002, allocations: 51.98 kB / 0.6066 GB, free: 61.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/1.006, allocations: 4.195 MB / 0.6107 GB, free: 56.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.006, allocations: 11.5 kB / 0.6107 GB, free: 56.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/1.012, allocations: 5.128 MB / 0.6157 GB, free: 51.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.013, allocations: 0.6035 MB / 0.6163 GB, free: 50.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/1.014, allocations: 47.92 kB / 0.6163 GB, free: 50.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.015, allocations: 131.9 kB / 0.6165 GB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.015, allocations: 149.8 kB / 0.6166 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.016, allocations: 63.98 kB / 0.6167 GB, free: 50.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002785/1.018, allocations: 1.963 MB / 0.6186 GB, free: 48.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.018, allocations: 2.516 kB / 0.6186 GB, free: 48.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005331/1.024, allocations: 1.961 MB / 0.6205 GB, free: 46.57 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.0005047/1.024, allocations: 205.5 kB / 0.6207 GB, free: 46.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.036, allocations: 6.975 MB / 0.6275 GB, free: 39.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.036, allocations: 0 / 0.6275 GB, free: 39.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/1.038, allocations: 1.738 MB / 0.6292 GB, free: 37.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.042, allocations: 0.6899 MB / 0.6299 GB, free: 37.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.064, allocations: 13.34 MB / 0.6429 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006403/1.071, allocations: 5.649 MB / 0.6484 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00418/1.075, allocations: 1.69 MB / 0.6501 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/1.076, allocations: 243.4 kB / 0.6503 GB, free: 16.32 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/1.076, allocations: 0 / 0.6503 GB, free: 16.32 MB / 446.1 MB Notification: Performance of Templates: time 0.07461/1.15, allocations: 41.01 MB / 0.6904 GB, free: 7.66 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches