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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.0016/0.0016, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.245/1.245, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 52.98 kB / 300.2 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08911, allocations: 49.44 MB / 349.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01686/0.106, allocations: 16.21 MB / 365.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00832/0.1144, allocations: 4.017 MB / 369.9 MB, free: 360 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.1178, allocations: 135.6 kB / 370 MB, free: 224 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1753/0.2931, allocations: 7.058 MB / 377.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.2978, allocations: 1.301 MB / 378.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.3001, allocations: 1.004 MB / 379.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007695/0.3078, allocations: 8.171 MB / 387.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03399/0.3418, allocations: 26.22 MB / 413.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007315/0.3491, allocations: 4.859 MB / 418.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.3578, allocations: 5.362 MB / 424 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00228/0.3601, allocations: 1.383 MB / 425.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.3636, allocations: 1.638 MB / 427 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.3659, allocations: 2.588 MB / 429.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006546/0.3724, allocations: 5.227 MB / 434.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.3891, allocations: 18.19 MB / 453 MB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3891, allocations: 4 kB / 453.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3891, allocations: 0 / 453.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005191/0.3897, allocations: 0 / 453.1 MB, free: 12.62 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.02816/0.4178, allocations: 10.45 MB / 463.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4179, allocations: 12.03 kB / 463.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002498/0.4204, allocations: 1.293 MB / 464.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/0.4384, allocations: 3.735 MB / 468.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008903/0.4474, allocations: 5.169 MB / 473.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/0.4478, allocations: 0.6838 MB / 474.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.4495, allocations: 0.8971 MB / 475.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.4716, allocations: 12.74 MB / 488 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.4718, allocations: 11.91 kB / 488 MB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008581/0.4727, allocations: 375.2 kB / 488.4 MB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00033/0.473, allocations: 399.1 kB / 488.8 MB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.4926, allocations: 11.43 MB / 0.4885 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07432/0.567, allocations: 43.69 MB / 0.5312 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3242/0.8912, allocations: 10.54 MB / 0.5415 GB, free: 127.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.894, allocations: 1.725 MB / 0.5431 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.8943, allocations: 140.4 kB / 0.5433 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.8944, allocations: 54.73 kB / 0.5433 GB, free: 127.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.55e-06/0.8944, allocations: 3.156 kB / 0.5433 GB, free: 127.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.009338/0.9037, allocations: 4.774 MB / 0.548 GB, free: 125.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.9038, allocations: 79.42 kB / 0.5481 GB, free: 125.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/0.9081, allocations: 2.926 MB / 0.5509 GB, free: 124.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.9084, allocations: 61.02 kB / 0.551 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.9107, allocations: 3.826 MB / 0.5547 GB, free: 121.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/0.9114, allocations: 0.8044 MB / 0.5555 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.9125, allocations: 0.9565 MB / 0.5564 GB, free: 120.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.9125, allocations: 301.1 kB / 0.5567 GB, free: 120.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.9151, allocations: 2.012 MB / 0.5587 GB, free: 119.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.9183, allocations: 4.199 MB / 0.5628 GB, free: 116.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/0.9236, allocations: 6.593 MB / 0.5692 GB, free: 111.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/0.9236, allocations: 19.81 kB / 0.5692 GB, free: 111.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.008217/0.9318, allocations: 6.586 MB / 0.5757 GB, free: 108.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.9319, allocations: 34.78 kB / 0.5757 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-05/0.932, allocations: 76.34 kB / 0.5758 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.9327, allocations: 417.1 kB / 0.5762 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.9355, allocations: 1.06 MB / 0.5772 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.9396, allocations: 4.382 MB / 0.5815 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.9424, allocations: 0.6274 MB / 0.5821 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.9427, allocations: 251.1 kB / 0.5823 GB, free: 105.1 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 (569): * Single equations (assignments): 564 * 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.004362/0.9471, allocations: 3.38 MB / 0.5857 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/0.9476, allocations: 268.6 kB / 0.5859 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.9521, allocations: 3.658 MB / 0.5895 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00315/0.9553, allocations: 2.885 MB / 0.5923 GB, free: 97.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.9553, allocations: 4 kB / 0.5923 GB, free: 97.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.9553, allocations: 11.95 kB / 0.5923 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.9684, allocations: 10.06 MB / 0.6021 GB, free: 87.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.9684, allocations: 0 / 0.6021 GB, free: 87.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.9699, allocations: 411.4 kB / 0.6025 GB, free: 86.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006095/0.9705, allocations: 316.7 kB / 0.6028 GB, free: 86.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.9706, allocations: 51.94 kB / 0.6029 GB, free: 86.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.9743, allocations: 4.201 MB / 0.607 GB, free: 82.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9743, allocations: 4 kB / 0.607 GB, free: 82.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.98, allocations: 5.252 MB / 0.6121 GB, free: 76.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.981, allocations: 0.6142 MB / 0.6127 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.9815, allocations: 40 kB / 0.6128 GB, free: 76.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9827, allocations: 135.8 kB / 0.6129 GB, free: 75.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.9829, allocations: 153.7 kB / 0.613 GB, free: 75.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.9831, allocations: 63.98 kB / 0.6131 GB, free: 75.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002302/0.9854, allocations: 1.963 MB / 0.615 GB, free: 73.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9854, allocations: 0 / 0.615 GB, free: 73.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004137/0.9895, allocations: 1.962 MB / 0.6169 GB, free: 71.82 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 (218): * Single equations (assignments): 213 * 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.005885/0.9954, allocations: 5.922 MB / 0.6227 GB, free: 65.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0114/1.007, allocations: 7.172 MB / 0.6297 GB, free: 58.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.007, allocations: 0 / 0.6297 GB, free: 58.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.009, allocations: 1.785 MB / 0.6315 GB, free: 56.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.012, allocations: 0.6806 MB / 0.6321 GB, free: 56.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06026/1.072, allocations: 47.05 MB / 0.6781 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006134/1.079, allocations: 5.644 MB / 0.6836 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004273/1.083, allocations: 1.698 MB / 0.6852 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003894/1.087, allocations: 2.733 MB / 0.6879 GB, free: 10.99 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/1.087, allocations: 0 / 0.6879 GB, free: 10.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/1.372, allocations: 91.03 MB / 0.7768 GB, free: 89.38 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.372, allocations: 237.2 kB / 0.777 GB, free: 89.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/4.734, allocations: 2.953 kB / 0.777 GB, free: 89.13 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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