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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 44.06 kB / 371.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 52.18 MB / 423.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01907/0.2628, allocations: 16.59 MB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008721/0.2716, allocations: 4.118 MB / 444.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.2741, allocations: 167.2 kB / 444.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01617/0.2903, allocations: 7.511 MB / 451.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.2967, allocations: 1.514 MB / 453.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.3003, allocations: 1.122 MB / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.3109, allocations: 8.304 MB / 462.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02233/0.3332, allocations: 14.36 MB / 477.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006747/0.3399, allocations: 4.906 MB / 482 MB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009414/0.3494, allocations: 5.357 MB / 487.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.3532, allocations: 1.383 MB / 488.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.3582, allocations: 1.656 MB / 490.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.3614, allocations: 2.584 MB / 493 MB, free: 8.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007609/0.369, allocations: 5.218 MB / 498.2 MB, free: 3.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.391, allocations: 18.34 MB / 0.5044 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.391, allocations: 0 / 0.5044 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.391, allocations: 0 / 0.5044 GB, free: 1.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004335/0.3914, allocations: 0 / 0.5044 GB, free: 1.156 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.03268/0.4241, allocations: 10.55 MB / 0.5147 GB, free: 6.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4242, allocations: 11.97 kB / 0.5148 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003054/0.4245, allocations: 251 kB / 0.515 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004906/0.4294, allocations: 1.294 MB / 0.5163 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/0.4486, allocations: 3.768 MB / 0.5199 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.4598, allocations: 5.429 MB / 0.5252 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007237/0.4606, allocations: 0.6784 MB / 0.5259 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/0.4636, allocations: 0.8906 MB / 0.5268 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4015/0.8651, allocations: 12.72 MB / 0.5392 GB, free: 91.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.8653, allocations: 12 kB / 0.5392 GB, free: 91.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.8664, allocations: 378.5 kB / 0.5396 GB, free: 91.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/0.8667, allocations: 394.8 kB / 0.5399 GB, free: 91.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.8866, allocations: 11.41 MB / 0.5511 GB, free: 87.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/0.9472, allocations: 42.32 MB / 0.5924 GB, free: 50.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007624/0.9549, allocations: 4.192 MB / 0.5965 GB, free: 46.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.9568, allocations: 1.534 MB / 0.598 GB, free: 45.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.9571, allocations: 57.47 kB / 0.5981 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9571, allocations: 56.56 kB / 0.5981 GB, free: 44.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.037e-06/0.9571, allocations: 4 kB / 0.5981 GB, free: 44.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007348/0.9644, allocations: 4.578 MB / 0.6026 GB, free: 40.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.9645, allocations: 77.34 kB / 0.6027 GB, free: 40.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/0.9688, allocations: 2.93 MB / 0.6055 GB, free: 37.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.9691, allocations: 65.7 kB / 0.6056 GB, free: 37.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.9707, allocations: 3.982 MB / 0.6095 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/0.9714, allocations: 0.8328 MB / 0.6103 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.9727, allocations: 0.9527 MB / 0.6112 GB, free: 31.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.9727, allocations: 301.1 kB / 0.6115 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.9749, allocations: 1.973 MB / 0.6134 GB, free: 29.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.9778, allocations: 4.157 MB / 0.6175 GB, free: 24.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/0.9829, allocations: 6.509 MB / 0.6239 GB, free: 16.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.552e-05/0.983, allocations: 24 kB / 0.6239 GB, free: 16.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007825/0.9908, allocations: 6.503 MB / 0.6302 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.9908, allocations: 36 kB / 0.6303 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.029e-05/0.9909, allocations: 83.94 kB / 0.6303 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007748/0.9917, allocations: 408.8 kB / 0.6307 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.9945, allocations: 1.065 MB / 0.6318 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.9985, allocations: 4.281 MB / 0.636 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.002, allocations: 0.6325 MB / 0.6366 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/1.002, allocations: 255.9 kB / 0.6368 GB, free: 3.512 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 (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.00416/1.006, allocations: 3.357 MB / 0.6401 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/1.007, allocations: 290.2 kB / 0.6404 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/1.013, allocations: 3.569 MB / 0.6439 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004241/1.017, allocations: 2.803 MB / 0.6466 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.017, allocations: 4 kB / 0.6466 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.017, allocations: 11.95 kB / 0.6466 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.039, allocations: 9.895 MB / 0.6563 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.039, allocations: 0 / 0.6563 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.04, allocations: 411.4 kB / 0.6567 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/1.041, allocations: 316.7 kB / 0.657 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/1.041, allocations: 48 kB / 0.657 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/1.047, allocations: 4.1 MB / 0.661 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.047, allocations: 3.938 kB / 0.661 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/1.055, allocations: 5.126 MB / 0.666 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.056, allocations: 0.5561 MB / 0.6666 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005999/1.057, allocations: 40 kB / 0.6666 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.058, allocations: 135.9 kB / 0.6667 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.059, allocations: 157.6 kB / 0.6669 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.059, allocations: 67.94 kB / 0.667 GB, free: 4.367 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003854/1.063, allocations: 1.963 MB / 0.6689 GB, free: 2.395 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.063, allocations: 0 / 0.6689 GB, free: 2.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006576/1.069, allocations: 1.992 MB / 0.6708 GB, free: 404 kB / 478.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.00972/1.079, allocations: 5.78 MB / 0.6765 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008001/1.087, allocations: 4.434 MB / 0.6808 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.087, allocations: 4.25 kB / 0.6808 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/1.09, allocations: 1.61 MB / 0.6824 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.094, allocations: 0.6818 MB / 0.683 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07549/1.169, allocations: 40.31 MB / 0.7224 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/1.18, allocations: 5.645 MB / 0.7279 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004783/1.185, allocations: 1.694 MB / 0.7296 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005109/1.19, allocations: 2.725 MB / 0.7322 GB, free: 14.75 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/1.19, allocations: 0 / 0.7322 GB, free: 14.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/1.533, allocations: 94.84 MB / 0.8248 GB, free: 131.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/18.48, allocations: 7.438 kB / 0.8249 GB, free: 131.2 MB / 0.545 GB " [Timeout remaining time 641] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.66335931501817]