Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 47.92 kB / 373 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1002, allocations: 53.32 MB / 426.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2173/0.3176, allocations: 16.58 MB / 442.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.3281, allocations: 4.158 MB / 447.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.3319, allocations: 161.8 kB / 447.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.35, allocations: 7.492 MB / 454.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007562/0.3576, allocations: 1.338 MB / 456 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.3622, allocations: 1.233 MB / 457.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.3757, allocations: 8.256 MB / 465.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03518/0.4108, allocations: 17.34 MB / 482.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008827/0.4197, allocations: 4.902 MB / 487.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.4298, allocations: 5.346 MB / 493.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004242/0.434, allocations: 1.383 MB / 494.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006972/0.441, allocations: 1.668 MB / 496.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005333/0.4463, allocations: 2.58 MB / 498.7 MB, free: 8.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.4565, allocations: 5.222 MB / 0.4922 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.4805, allocations: 18.36 MB / 0.5101 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4805, allocations: 0 / 0.5101 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4806, allocations: 0 / 0.5101 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005455/0.4811, allocations: 0 / 0.5101 GB, free: 0.7773 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.03345/0.5145, allocations: 10.63 MB / 0.5205 GB, free: 6.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.5146, allocations: 8.031 kB / 0.5205 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004566/0.5192, allocations: 1.298 MB / 0.5217 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/0.5398, allocations: 3.702 MB / 0.5254 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.5512, allocations: 5.387 MB / 0.5306 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007489/0.552, allocations: 0.6785 MB / 0.5313 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/0.5552, allocations: 0.8828 MB / 0.5321 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.5872, allocations: 12.74 MB / 0.5446 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/0.5876, allocations: 11.95 kB / 0.5446 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/0.5909, allocations: 376 kB / 0.545 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004826/0.5913, allocations: 403.1 kB / 0.5453 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.026/0.6173, allocations: 11.43 MB / 0.5565 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08282/0.7002, allocations: 43.71 MB / 0.5992 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.7138, allocations: 10.28 MB / 0.6092 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.7165, allocations: 1.528 MB / 0.6107 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.717, allocations: 244 kB / 0.611 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.717, allocations: 60.56 kB / 0.611 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.759e-06/0.717, allocations: 0 / 0.611 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009921/0.7269, allocations: 4.676 MB / 0.6156 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.727, allocations: 77.41 kB / 0.6157 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3752/1.102, allocations: 2.927 MB / 0.6185 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003751/1.103, allocations: 61.7 kB / 0.6186 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.105, allocations: 3.983 MB / 0.6225 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009304/1.106, allocations: 0.8202 MB / 0.6233 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/1.107, allocations: 0.9678 MB / 0.6242 GB, free: 150 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/1.107, allocations: 302.9 kB / 0.6245 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/1.11, allocations: 1.975 MB / 0.6264 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/1.115, allocations: 4.163 MB / 0.6305 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007756/1.122, allocations: 6.52 MB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/1.123, allocations: 25.88 kB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01209/1.135, allocations: 6.523 MB / 0.6432 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.135, allocations: 37.19 kB / 0.6433 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.135, allocations: 76.17 kB / 0.6434 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.136, allocations: 411.7 kB / 0.6437 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.14, allocations: 1.063 MB / 0.6448 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/1.145, allocations: 4.38 MB / 0.6491 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.148, allocations: 0.6346 MB / 0.6497 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007471/1.149, allocations: 250.5 kB / 0.6499 GB, free: 134.8 MB / 0.5138 GB 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.004826/1.154, allocations: 3.366 MB / 0.6532 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007269/1.155, allocations: 293.2 kB / 0.6535 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/1.16, allocations: 3.563 MB / 0.657 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003472/1.164, allocations: 2.823 MB / 0.6597 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.164, allocations: 3.844 kB / 0.6597 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/1.164, allocations: 11.44 kB / 0.6597 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.178, allocations: 9.872 MB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.178, allocations: 9.953 kB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.179, allocations: 413.4 kB / 0.6698 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006677/1.18, allocations: 317 kB / 0.6701 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.18, allocations: 51.25 kB / 0.6701 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/1.184, allocations: 4.198 MB / 0.6742 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.184, allocations: 0 / 0.6742 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/1.19, allocations: 5.148 MB / 0.6793 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.191, allocations: 0.6196 MB / 0.6799 GB, free: 118.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/1.191, allocations: 40 kB / 0.6799 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.192, allocations: 134.7 kB / 0.68 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.193, allocations: 145.7 kB / 0.6802 GB, free: 118 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.193, allocations: 76.03 kB / 0.6802 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002246/1.195, allocations: 1.963 MB / 0.6822 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.41e-07/1.195, allocations: 0 / 0.6822 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004857/1.2, allocations: 1.984 MB / 0.6841 GB, free: 113.9 MB / 0.5138 GB 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.006195/1.206, allocations: 5.8 MB / 0.6898 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005873/1.212, allocations: 4.441 MB / 0.6941 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.212, allocations: 4 kB / 0.6941 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.214, allocations: 1.621 MB / 0.6957 GB, free: 102 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.217, allocations: 0.6779 MB / 0.6964 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05244/1.27, allocations: 40.13 MB / 0.7355 GB, free: 58.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/1.275, allocations: 5.649 MB / 0.7411 GB, free: 52.92 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003195/1.278, allocations: 1.694 MB / 0.7427 GB, free: 51.22 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002933/1.281, allocations: 2.745 MB / 0.7454 GB, free: 48.48 MB / 0.5138 GB Notification: Performance of SimCode: time 1.012e-06/1.281, allocations: 0 / 0.7454 GB, free: 48.48 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3473/1.628, allocations: 90.79 MB / 0.8341 GB, free: 156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/17.24, allocations: 11.36 kB / 0.8341 GB, free: 156 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 20.14987844810821]