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.001247/0.001247, allocations: 108.8 kB / 17.06 MB, free: 6.129 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.001412/0.001412, allocations: 191 kB / 18 MB, free: 5.207 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009378/0.0009378, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2592, allocations: 49.43 MB / 400.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01782/0.2771, allocations: 16.5 MB / 417.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009826/0.2869, allocations: 4.072 MB / 421.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.2906, allocations: 139.6 kB / 421.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01606/0.3067, allocations: 7.463 MB / 428.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.3125, allocations: 1.487 MB / 430.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.3157, allocations: 1.095 MB / 431.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008821/0.3245, allocations: 8.253 MB / 439.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03289/0.3574, allocations: 22.51 MB / 462.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007623/0.3651, allocations: 4.812 MB / 467.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009297/0.3744, allocations: 5.33 MB / 472.4 MB, free: 1.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003684/0.3781, allocations: 1.379 MB / 473.8 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/0.383, allocations: 1.64 MB / 475.4 MB, free: 14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.387, allocations: 2.584 MB / 478 MB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007088/0.3941, allocations: 5.222 MB / 483.2 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.4103, allocations: 18.28 MB / 0.4897 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4103, allocations: 7.844 kB / 0.4897 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4103, allocations: 0 / 0.4897 GB, free: 3.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004/0.4107, allocations: 7.938 kB / 0.4898 GB, free: 3.824 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.0344/0.4452, allocations: 10.44 MB / 0.4999 GB, free: 9.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4452, allocations: 11.89 kB / 0.5 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02041/0.4656, allocations: 3.74 MB / 0.5036 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4774, allocations: 5.359 MB / 0.5088 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007148/0.4782, allocations: 0.6785 MB / 0.5095 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003238/0.4814, allocations: 0.8905 MB / 0.5104 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03171/0.5132, allocations: 12.72 MB / 0.5228 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/0.5135, allocations: 4 kB / 0.5228 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.5161, allocations: 380 kB / 0.5232 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.5165, allocations: 403 kB / 0.5236 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/0.5402, allocations: 11.4 MB / 0.5347 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.464/1.004, allocations: 43.09 MB / 0.5768 GB, free: 94.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00719/1.011, allocations: 10.49 MB / 0.587 GB, free: 83.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.013, allocations: 1.686 MB / 0.5887 GB, free: 81.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.013, allocations: 134.7 kB / 0.5888 GB, free: 81.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.013, allocations: 56.56 kB / 0.5888 GB, free: 81.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.358e-06/1.013, allocations: 0 / 0.5888 GB, free: 81.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006831/1.02, allocations: 4.669 MB / 0.5934 GB, free: 76.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.02, allocations: 77.41 kB / 0.5935 GB, free: 76.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/1.024, allocations: 2.921 MB / 0.5963 GB, free: 73.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.024, allocations: 61.7 kB / 0.5964 GB, free: 73.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.025, allocations: 3.827 MB / 0.6001 GB, free: 69.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/1.026, allocations: 0.7914 MB / 0.6009 GB, free: 69.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/1.027, allocations: 0.9521 MB / 0.6018 GB, free: 68.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.828e-05/1.027, allocations: 301.1 kB / 0.6021 GB, free: 67.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.029, allocations: 1.973 MB / 0.604 GB, free: 65.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/1.031, allocations: 4.156 MB / 0.6081 GB, free: 60.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/1.036, allocations: 6.505 MB / 0.6145 GB, free: 53.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/1.037, allocations: 23.94 kB / 0.6145 GB, free: 53.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007575/1.044, allocations: 6.507 MB / 0.6208 GB, free: 46.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/1.044, allocations: 36 kB / 0.6209 GB, free: 46.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.526e-05/1.044, allocations: 76 kB / 0.6209 GB, free: 46.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/1.045, allocations: 408.7 kB / 0.6213 GB, free: 46.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.048, allocations: 1.061 MB / 0.6224 GB, free: 45.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/1.052, allocations: 4.372 MB / 0.6266 GB, free: 40.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/1.055, allocations: 0.6231 MB / 0.6272 GB, free: 39.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/1.055, allocations: 248 kB / 0.6275 GB, free: 39.64 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.003901/1.059, allocations: 3.375 MB / 0.6308 GB, free: 36.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/1.06, allocations: 276.5 kB / 0.631 GB, free: 35.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.064, allocations: 3.577 MB / 0.6345 GB, free: 32.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003103/1.067, allocations: 2.811 MB / 0.6373 GB, free: 29.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.067, allocations: 4 kB / 0.6373 GB, free: 29.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.067, allocations: 11.95 kB / 0.6373 GB, free: 29.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.08, allocations: 9.852 MB / 0.6469 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.08, allocations: 0 / 0.6469 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.081, allocations: 415.6 kB / 0.6473 GB, free: 19.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/1.082, allocations: 316.9 kB / 0.6476 GB, free: 18.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.082, allocations: 51.98 kB / 0.6477 GB, free: 18.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/1.086, allocations: 4.2 MB / 0.6518 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.086, allocations: 7.938 kB / 0.6518 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/1.091, allocations: 5.121 MB / 0.6568 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.092, allocations: 0.6141 MB / 0.6574 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/1.093, allocations: 40 kB / 0.6574 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/1.094, allocations: 131.8 kB / 0.6575 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/1.094, allocations: 149.9 kB / 0.6577 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.094, allocations: 63.98 kB / 0.6577 GB, free: 8.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002235/1.096, allocations: 1.959 MB / 0.6596 GB, free: 6.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.096, allocations: 0 / 0.6596 GB, free: 6.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004544/1.101, allocations: 1.96 MB / 0.6616 GB, free: 4.43 MB / 462.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.0004316/1.101, allocations: 208.2 kB / 0.6618 GB, free: 4.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005942/1.107, allocations: 4.63 MB / 0.6663 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.107, allocations: 384 / 0.6663 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/1.11, allocations: 1.738 MB / 0.668 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/1.113, allocations: 0.6819 MB / 0.6686 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.137, allocations: 13.21 MB / 0.6816 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009012/1.146, allocations: 5.646 MB / 0.6871 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004523/1.151, allocations: 1.694 MB / 0.6887 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009735/1.152, allocations: 227.4 kB / 0.6889 GB, free: 8.312 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/1.152, allocations: 4 kB / 0.6889 GB, free: 8.309 MB / 494.1 MB Notification: Performance of Templates: time 0.07762/1.229, allocations: 40.02 MB / 0.728 GB, free: 500 kB / 0.5138 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/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