Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.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.001345/0.001345, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001488/0.001488, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.566/1.566, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 55.86 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1404, allocations: 53.32 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2839/0.4243, allocations: 6.043 MB / 432.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.4293, allocations: 1.684 MB / 434 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.4308, allocations: 61.44 kB / 434.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4319, allocations: 323.9 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.4339, allocations: 374.1 kB / 434.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4352, allocations: 356.1 kB / 435.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.4379, allocations: 2.015 MB / 437.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.4407, allocations: 2.026 MB / 439.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.4428, allocations: 1.069 MB / 440.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.4451, allocations: 1.219 MB / 441.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006963/0.4458, allocations: 314.1 kB / 441.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.447, allocations: 476.6 kB / 442.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007424/0.4478, allocations: 0.7328 MB / 443 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.4499, allocations: 1.267 MB / 444.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.4561, allocations: 3.81 MB / 448 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4561, allocations: 1.688 kB / 448 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4561, allocations: 0 / 448 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.4563, allocations: 0 / 448 MB, free: 1.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006414/0.4627, allocations: 2.53 MB / 450.6 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4627, allocations: 9.25 kB / 450.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004377/0.4632, allocations: 323.8 kB / 450.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009515/0.4641, allocations: 276.9 kB / 451.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.4668, allocations: 1.34 MB / 452.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.467, allocations: 172.9 kB / 452.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.4674, allocations: 217 kB / 452.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006616/0.474, allocations: 2.544 MB / 455.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.474, allocations: 0 / 455.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.4743, allocations: 96.5 kB / 455.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.4744, allocations: 57.48 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/0.4798, allocations: 2.144 MB / 457.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.4989, allocations: 7.507 MB / 465.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.5007, allocations: 1.222 MB / 466.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5021, allocations: 0.5932 MB / 467.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.5021, allocations: 9.609 kB / 467.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.5022, allocations: 45.62 kB / 467.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.637e-06/0.5022, allocations: 0 / 467.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005996/0.5082, allocations: 2.446 MB / 469.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.5082, allocations: 63.5 kB / 469.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.5099, allocations: 0.8027 MB / 470.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/0.51, allocations: 40.44 kB / 470.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.5109, allocations: 0.9427 MB / 471.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.5112, allocations: 242.8 kB / 471.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.5115, allocations: 147.6 kB / 471.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002945/0.5118, allocations: 388.7 kB / 472.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.5125, allocations: 372.9 kB / 472.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.5134, allocations: 0.5771 MB / 473.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.515, allocations: 0.9854 MB / 474.1 MB, free: 292 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.515, allocations: 4 kB / 474.1 MB, free: 288 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002219/0.5172, allocations: 1.147 MB / 475.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5172, allocations: 8 kB / 475.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5173, allocations: 8.469 kB / 475.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.5176, allocations: 116.7 kB / 475.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5184, allocations: 167.8 kB / 475.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.5211, allocations: 2.331 MB / 477.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.5218, allocations: 39.97 kB / 477.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.5219, allocations: 36.06 kB / 477.9 MB, free: 12.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001356/0.5233, allocations: 0.6535 MB / 478.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5235, allocations: 83.44 kB / 478.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.5237, allocations: 103.7 kB / 478.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.5238, allocations: 8 kB / 478.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/0.5238, allocations: 3.938 kB / 478.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5238, allocations: 7.984 kB / 478.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.5288, allocations: 2.655 MB / 481.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5288, allocations: 0 / 481.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.5293, allocations: 111.8 kB / 481.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.5296, allocations: 102 kB / 481.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.5297, allocations: 16 kB / 481.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.5321, allocations: 2.264 MB / 483.9 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5321, allocations: 3.984 kB / 483.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.5346, allocations: 1.417 MB / 485.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.5351, allocations: 240.5 kB / 485.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5352, allocations: 16 kB / 485.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.5356, allocations: 41.55 kB / 485.6 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.5358, allocations: 44.44 kB / 485.7 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.5358, allocations: 23.98 kB / 485.7 MB, free: 4.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001/0.5368, allocations: 0.5653 MB / 486.3 MB, free: 3.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5368, allocations: 4 kB / 486.3 MB, free: 3.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001722/0.5386, allocations: 296 kB / 486.6 MB, free: 3.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003289/0.5419, allocations: 2.008 MB / 488.6 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.5439, allocations: 0.9641 MB / 489.5 MB, free: 336 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5439, allocations: 8.25 kB / 489.6 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5449, allocations: 0.5251 MB / 490.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5466, allocations: 220.1 kB / 490.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.5663, allocations: 10.19 MB / 0.4888 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.5685, allocations: 1.719 MB / 0.4904 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008217/0.5693, allocations: 203.6 kB / 0.4906 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.5703, allocations: 0.6438 MB / 0.4913 GB, free: 2.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.964e-06/0.5703, allocations: 0 / 0.4913 GB, free: 2.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08955/0.6598, allocations: 24.51 MB / 0.5152 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.1, allocations: 15.2 kB / 0.5152 GB, free: 10.16 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.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: 14.845693089067936]