Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001052/0.001052, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 224.7 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 56.2 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.094, allocations: 46.63 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01563/0.1097, allocations: 16.56 MB / 344 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.1189, allocations: 4.174 MB / 348.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.1223, allocations: 111.7 kB / 348.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01542/0.1378, allocations: 7.083 MB / 355.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006224/0.144, allocations: 1.365 MB / 356.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.1477, allocations: 1.1 MB / 357.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.1581, allocations: 8.495 MB / 366.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2596/0.4178, allocations: 26.12 MB / 392.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.4282, allocations: 5.017 MB / 397.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4393, allocations: 5.575 MB / 403 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005318/0.4447, allocations: 1.405 MB / 404.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006931/0.4516, allocations: 1.667 MB / 406.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005256/0.4569, allocations: 2.708 MB / 408.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01063/0.4676, allocations: 5.391 MB / 414.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.4861, allocations: 16.2 MB / 430.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.4862, allocations: 8 kB / 430.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4862, allocations: 0 / 430.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007835/0.487, allocations: 4 kB / 430.4 MB, free: 11.19 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03976/0.5268, allocations: 10.8 MB / 441.2 MB, free: 396 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.5268, allocations: 11.89 kB / 441.2 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0308/0.5576, allocations: 5.709 MB / 447 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.5691, allocations: 4.835 MB / 451.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007129/0.5699, allocations: 0.7093 MB / 452.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003817/0.5737, allocations: 0.9131 MB / 453.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03642/0.6101, allocations: 13.62 MB / 467 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.6105, allocations: 7.906 kB / 467 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002888/0.6134, allocations: 386.3 kB / 467.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/0.6138, allocations: 463.9 kB / 467.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/0.6436, allocations: 12.84 MB / 480.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08327/0.7269, allocations: 46.94 MB / 0.5153 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.7427, allocations: 17.12 MB / 0.532 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.7459, allocations: 1.906 MB / 0.5339 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3311/1.077, allocations: 6.09 MB / 0.5398 GB, free: 147.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.077, allocations: 56.05 kB / 0.5399 GB, free: 147.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 4.649e-06/1.077, allocations: 0.5625 kB / 0.5399 GB, free: 147.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.009074/1.086, allocations: 4.414 MB / 0.5442 GB, free: 146.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.086, allocations: 71.38 kB / 0.5442 GB, free: 146.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005785/1.092, allocations: 3.319 MB / 0.5475 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003387/1.092, allocations: 61.11 kB / 0.5475 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.095, allocations: 4.179 MB / 0.5516 GB, free: 142.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007694/1.096, allocations: 0.7127 MB / 0.5523 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/1.097, allocations: 1.064 MB / 0.5534 GB, free: 141.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.097, allocations: 306.8 kB / 0.5537 GB, free: 140.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/1.1, allocations: 2.082 MB / 0.5557 GB, free: 140.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/1.104, allocations: 4.729 MB / 0.5603 GB, free: 135.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006165/1.11, allocations: 7.173 MB / 0.5673 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.321e-05/1.11, allocations: 27.78 kB / 0.5673 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01005/1.12, allocations: 7.095 MB / 0.5743 GB, free: 127.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/1.12, allocations: 41.22 kB / 0.5743 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/1.12, allocations: 93.61 kB / 0.5744 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/1.121, allocations: 426.5 kB / 0.5748 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/1.124, allocations: 1.184 MB / 0.576 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/1.129, allocations: 4.379 MB / 0.5802 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.133, allocations: 0.724 MB / 0.5809 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/1.134, allocations: 286 kB / 0.5812 GB, free: 124 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * 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.006329/1.14, allocations: 3.488 MB / 0.5846 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007004/1.141, allocations: 289.6 kB / 0.5849 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/1.145, allocations: 3.392 MB / 0.5882 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002965/1.148, allocations: 2.624 MB / 0.5908 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.148, allocations: 4 kB / 0.5908 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.148, allocations: 15.39 kB / 0.5908 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.167, allocations: 9.428 MB / 0.6 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.167, allocations: 4 kB / 0.6 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.169, allocations: 356.8 kB / 0.6003 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/1.169, allocations: 321.2 kB / 0.6006 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.17, allocations: 50.36 kB / 0.6007 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/1.173, allocations: 4.185 MB / 0.6048 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.173, allocations: 3.938 kB / 0.6048 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/1.179, allocations: 4.838 MB / 0.6095 GB, free: 99.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.18, allocations: 0.5907 MB / 0.6101 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006929/1.181, allocations: 36 kB / 0.6101 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.183, allocations: 131.8 kB / 0.6102 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/1.183, allocations: 133.8 kB / 0.6104 GB, free: 98.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.183, allocations: 59.98 kB / 0.6104 GB, free: 98.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003704/1.187, allocations: 2.198 MB / 0.6126 GB, free: 96.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.187, allocations: 0.6562 kB / 0.6126 GB, free: 96.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006186/1.193, allocations: 2.031 MB / 0.6146 GB, free: 94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (183): * Single equations (assignments): 178 * 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.0005585/1.194, allocations: 205.5 kB / 0.6148 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/1.204, allocations: 6.511 MB / 0.6211 GB, free: 87.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.204, allocations: 2.156 kB / 0.6211 GB, free: 87.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/1.206, allocations: 1.641 MB / 0.6227 GB, free: 85.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/1.21, allocations: 0.6875 MB / 0.6234 GB, free: 84.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/1.238, allocations: 17.36 MB / 0.6403 GB, free: 67.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007771/1.246, allocations: 5.623 MB / 0.6458 GB, free: 61.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.247, allocations: 284.7 kB / 0.6461 GB, free: 61.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.094e-06/1.247, allocations: 4 kB / 0.6461 GB, free: 61.69 MB / 446.1 MB Notification: Performance of Templates: time 0.3645/1.611, allocations: 136.1 MB / 0.779 GB, free: 72.71 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches