Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007268/0.000727, allocations: 98.23 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01327/0.2481, allocations: 14.58 MB / 389.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009688/0.2578, allocations: 3.859 MB / 393.5 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.2619, allocations: 111.7 kB / 393.6 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.2648, allocations: 0.7104 MB / 394.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.2707, allocations: 1.267 MB / 395.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.274, allocations: 0.9216 MB / 396.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008539/0.2826, allocations: 7.946 MB / 404.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03087/0.3135, allocations: 21.73 MB / 426.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006003/0.3195, allocations: 3.395 MB / 429.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006274/0.3259, allocations: 3.848 MB / 433.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.3278, allocations: 0.5547 MB / 434 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.3316, allocations: 0.7927 MB / 434.8 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.3338, allocations: 1.588 MB / 436.4 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008552/0.3424, allocations: 4.035 MB / 440.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.3608, allocations: 15.65 MB / 456.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3608, allocations: 0 / 456.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3609, allocations: 0 / 456.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006262/0.3615, allocations: 0 / 456.1 MB, free: 15.4 MB / 346.7 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.02527/0.3868, allocations: 8.768 MB / 464.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3868, allocations: 8.031 kB / 464.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02851/0.4154, allocations: 5.737 MB / 470.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.4257, allocations: 4.837 MB / 475.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007862/0.4265, allocations: 0.7025 MB / 476.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003477/0.43, allocations: 0.9178 MB / 477.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/0.4675, allocations: 13.55 MB / 490.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000428/0.468, allocations: 11.91 kB / 490.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002855/0.4709, allocations: 384 kB / 491 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005402/0.4714, allocations: 463.9 kB / 491.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3761/0.8476, allocations: 12.76 MB / 0.4924 GB, free: 93.5 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06935/0.917, allocations: 47.05 MB / 0.5383 GB, free: 59.69 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.928, allocations: 17.09 MB / 0.555 GB, free: 40.26 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.9306, allocations: 1.898 MB / 0.5569 GB, free: 38.36 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00876/0.9394, allocations: 6.097 MB / 0.5628 GB, free: 32.21 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.9394, allocations: 52.5 kB / 0.5629 GB, free: 32.16 MB / 378.8 MB Notification: Performance of pre-optimization done (n=194): time 5.149e-06/0.9394, allocations: 4 kB / 0.5629 GB, free: 32.15 MB / 378.8 MB Notification: Performance of matching and sorting (n=194): time 0.006888/0.9463, allocations: 4.409 MB / 0.5672 GB, free: 27.72 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.9464, allocations: 73.41 kB / 0.5673 GB, free: 27.63 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/0.9506, allocations: 3.297 MB / 0.5705 GB, free: 24.32 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.9509, allocations: 57.7 kB / 0.5705 GB, free: 24.25 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.9526, allocations: 4.176 MB / 0.5746 GB, free: 20.05 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/0.9532, allocations: 0.7164 MB / 0.5753 GB, free: 19.34 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.9534, allocations: 100 kB / 0.5754 GB, free: 19.25 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.9536, allocations: 0.5128 MB / 0.5759 GB, free: 18.73 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/0.9562, allocations: 2.063 MB / 0.5779 GB, free: 16.66 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.9595, allocations: 4.708 MB / 0.5825 GB, free: 10.65 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/0.9659, allocations: 7.148 MB / 0.5895 GB, free: 2.215 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.297e-05/0.966, allocations: 28 kB / 0.5895 GB, free: 2.188 MB / 378.8 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.0125/0.9785, allocations: 7.054 MB / 0.5964 GB, free: 11.12 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.9786, allocations: 44 kB / 0.5965 GB, free: 11.08 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/0.9788, allocations: 95.98 kB / 0.5966 GB, free: 10.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.9799, allocations: 428.1 kB / 0.597 GB, free: 10.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/0.9836, allocations: 1.181 MB / 0.5981 GB, free: 9.383 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005055/0.9887, allocations: 4.069 MB / 0.6021 GB, free: 5.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/0.9926, allocations: 0.7197 MB / 0.6028 GB, free: 4.453 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007377/0.9933, allocations: 284 kB / 0.6031 GB, free: 4.176 MB / 394.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006114/0.9995, allocations: 3.489 MB / 0.6065 GB, free: 0.6719 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007299/1, allocations: 300.2 kB / 0.6068 GB, free: 384 kB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/1.006, allocations: 3.376 MB / 0.6101 GB, free: 13 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003802/1.01, allocations: 2.608 MB / 0.6126 GB, free: 10.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.01, allocations: 3.938 kB / 0.6126 GB, free: 10.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.01, allocations: 15.97 kB / 0.6126 GB, free: 10.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.029, allocations: 9.409 MB / 0.6218 GB, free: 0.918 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.029, allocations: 3.938 kB / 0.6218 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.031, allocations: 359.4 kB / 0.6222 GB, free: 0.5625 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/1.032, allocations: 313.3 kB / 0.6225 GB, free: 260 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/1.032, allocations: 43.98 kB / 0.6225 GB, free: 216 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/1.038, allocations: 3.877 MB / 0.6263 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.038, allocations: 0 / 0.6263 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008198/1.046, allocations: 4.811 MB / 0.631 GB, free: 7.355 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.047, allocations: 0.6179 MB / 0.6316 GB, free: 6.715 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006494/1.048, allocations: 40.05 kB / 0.6316 GB, free: 6.676 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.05, allocations: 131.8 kB / 0.6317 GB, free: 6.547 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/1.05, allocations: 137.8 kB / 0.6319 GB, free: 6.414 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.05, allocations: 55.98 kB / 0.6319 GB, free: 6.359 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.004168/1.054, allocations: 2.166 MB / 0.634 GB, free: 4.191 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.71e-07/1.054, allocations: 0 / 0.634 GB, free: 4.191 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006653/1.061, allocations: 2.034 MB / 0.636 GB, free: 2.148 MB / 426.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/1.062, allocations: 198.4 kB / 0.6362 GB, free: 1.961 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008816/1.07, allocations: 4.778 MB / 0.6409 GB, free: 13.18 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.07, allocations: 3.938 kB / 0.6409 GB, free: 13.18 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002683/1.073, allocations: 1.633 MB / 0.6425 GB, free: 11.54 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.077, allocations: 0.6391 MB / 0.6431 GB, free: 10.91 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2126/1.29, allocations: 16.59 MB / 0.6593 GB, free: 143 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008301/1.298, allocations: 5.625 MB / 0.6648 GB, free: 141.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.3, allocations: 281.9 kB / 0.6651 GB, free: 141.9 MB / 442.8 MB Notification: Performance of SimCode: time 1.202e-06/1.3, allocations: 0 / 0.6651 GB, free: 141.9 MB / 442.8 MB Notification: Performance of Templates: time 0.138/1.438, allocations: 134.9 MB / 0.7969 GB, free: 16.91 MB / 442.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches