Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009124/0.0009124, allocations: 196.6 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 226.6 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008044/0.0008045, allocations: 98.23 kB / 296.4 MB, free: 6.797 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002427, allocations: 4 kB / 356.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2561, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01529/0.2714, allocations: 14.19 MB / 421.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2818, allocations: 3.761 MB / 425.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.2867, allocations: 123.7 kB / 425.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.2908, allocations: 0.6832 MB / 426.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007821/0.2986, allocations: 1.092 MB / 427.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.3044, allocations: 0.9189 MB / 428.3 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.3157, allocations: 7.566 MB / 435.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04602/0.3617, allocations: 18.31 MB / 454.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005911/0.3677, allocations: 3.278 MB / 457.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006975/0.3747, allocations: 3.669 MB / 461.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.3763, allocations: 0.5469 MB / 461.6 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.3796, allocations: 0.8044 MB / 462.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3809, allocations: 1.479 MB / 463.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.3838, allocations: 1.751 MB / 465.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.3994, allocations: 15.51 MB / 481.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3995, allocations: 0 / 481.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3995, allocations: 0 / 481.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005764/0.4001, allocations: 4 kB / 481.2 MB, free: 1.867 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02392/0.424, allocations: 8.595 MB / 489.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4241, allocations: 8.031 kB / 489.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/0.4434, allocations: 3.771 MB / 493.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.4554, allocations: 5.121 MB / 498.7 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000599/0.456, allocations: 0.6785 MB / 499.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.459, allocations: 0.8905 MB / 0.4885 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/0.4932, allocations: 12.67 MB / 0.5009 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003093/0.4935, allocations: 3.906 kB / 0.5009 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/0.4955, allocations: 391.9 kB / 0.5013 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/0.4958, allocations: 395.1 kB / 0.5016 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4844/0.9803, allocations: 11.36 MB / 0.5127 GB, free: 76.04 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06383/1.044, allocations: 44.26 MB / 0.556 GB, free: 35.63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/1.052, allocations: 10.51 MB / 0.5662 GB, free: 23.87 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/1.054, allocations: 1.716 MB / 0.5679 GB, free: 22.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/1.054, allocations: 227.8 kB / 0.5681 GB, free: 21.9 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.054, allocations: 52.56 kB / 0.5682 GB, free: 21.84 MB / 378.8 MB Notification: Performance of pre-optimization done (n=229): time 4.449e-06/1.054, allocations: 0 / 0.5682 GB, free: 21.84 MB / 378.8 MB Notification: Performance of matching and sorting (n=229): time 0.007739/1.062, allocations: 4.748 MB / 0.5728 GB, free: 17.07 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.062, allocations: 81.39 kB / 0.5729 GB, free: 16.98 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/1.066, allocations: 2.895 MB / 0.5757 GB, free: 14.07 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/1.066, allocations: 61.7 kB / 0.5758 GB, free: 14 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.068, allocations: 3.831 MB / 0.5795 GB, free: 10.14 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006075/1.068, allocations: 0.8183 MB / 0.5803 GB, free: 9.336 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/1.069, allocations: 88 kB / 0.5804 GB, free: 9.25 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002034/1.069, allocations: 0.5002 MB / 0.5809 GB, free: 8.742 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/1.071, allocations: 1.992 MB / 0.5828 GB, free: 6.742 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/1.075, allocations: 4.181 MB / 0.5869 GB, free: 1.492 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/1.08, allocations: 3.031 MB / 0.5899 GB, free: 14.44 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-05/1.08, allocations: 20 kB / 0.5899 GB, free: 14.42 MB / 394.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01274/1.092, allocations: 6.543 MB / 0.5963 GB, free: 7.82 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.093, allocations: 36 kB / 0.5963 GB, free: 7.785 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/1.093, allocations: 79.98 kB / 0.5964 GB, free: 7.707 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.094, allocations: 420.7 kB / 0.5968 GB, free: 7.293 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/1.098, allocations: 1.061 MB / 0.5978 GB, free: 6.23 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/1.104, allocations: 4.058 MB / 0.6018 GB, free: 2.047 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.108, allocations: 0.6269 MB / 0.6024 GB, free: 1.414 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.109, allocations: 251.9 kB / 0.6026 GB, free: 1.168 MB / 394.8 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 (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.007622/1.117, allocations: 3.361 MB / 0.6059 GB, free: 13.79 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/1.118, allocations: 276.6 kB / 0.6062 GB, free: 13.52 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/1.124, allocations: 3.659 MB / 0.6098 GB, free: 9.836 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003931/1.128, allocations: 2.874 MB / 0.6126 GB, free: 6.949 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.128, allocations: 7.938 kB / 0.6126 GB, free: 6.941 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/1.128, allocations: 11.95 kB / 0.6126 GB, free: 6.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.147, allocations: 10.04 MB / 0.6224 GB, free: 12.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.147, allocations: 8.016 kB / 0.6224 GB, free: 12.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.148, allocations: 411.4 kB / 0.6228 GB, free: 12.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/1.149, allocations: 312.8 kB / 0.6231 GB, free: 12.14 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.149, allocations: 51.98 kB / 0.6231 GB, free: 12.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/1.154, allocations: 3.893 MB / 0.6269 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.154, allocations: 3.938 kB / 0.6269 GB, free: 8.066 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/1.161, allocations: 5.222 MB / 0.632 GB, free: 2.809 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.162, allocations: 0.6258 MB / 0.6326 GB, free: 2.16 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/1.163, allocations: 40.06 kB / 0.6327 GB, free: 2.121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.164, allocations: 131.8 kB / 0.6328 GB, free: 1.992 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.164, allocations: 153.7 kB / 0.633 GB, free: 1.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.164, allocations: 64 kB / 0.633 GB, free: 1.777 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003849/1.168, allocations: 1.947 MB / 0.6349 GB, free: 15.82 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.168, allocations: 0 / 0.6349 GB, free: 15.82 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007594/1.176, allocations: 1.957 MB / 0.6368 GB, free: 13.86 MB / 442.8 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 (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.0007197/1.177, allocations: 199.3 kB / 0.637 GB, free: 13.66 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008091/1.185, allocations: 4.684 MB / 0.6416 GB, free: 8.965 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.185, allocations: 4 kB / 0.6416 GB, free: 8.961 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/1.188, allocations: 1.767 MB / 0.6433 GB, free: 7.184 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.191, allocations: 0.6525 MB / 0.644 GB, free: 6.547 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/1.217, allocations: 16.01 MB / 0.6596 GB, free: 6.477 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006659/1.224, allocations: 5.474 MB / 0.6649 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.225, allocations: 271.4 kB / 0.6652 GB, free: 0.6992 MB / 458.8 MB Notification: Performance of SimCode: time 1.713e-06/1.225, allocations: 0 / 0.6652 GB, free: 0.6992 MB / 458.8 MB Notification: Performance of Templates: time 0.3435/1.568, allocations: 130.9 MB / 0.793 GB, free: 57.56 MB / 474.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches