Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009538/0.3359, allocations: 6.09 MB / 437.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.3403, allocations: 1.709 MB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.341, allocations: 63.62 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.3418, allocations: 317.4 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.3431, allocations: 389.5 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.3439, allocations: 367.5 kB / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.3463, allocations: 2.028 MB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3486, allocations: 1.599 MB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.3502, allocations: 1.079 MB / 444.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3519, allocations: 1.222 MB / 446 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.3523, allocations: 312 kB / 446.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.3532, allocations: 0.5191 MB / 446.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.3539, allocations: 0.7402 MB / 447.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.3554, allocations: 1.264 MB / 448.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004521/0.3599, allocations: 3.827 MB / 452.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3599, allocations: 0 / 452.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3599, allocations: 0 / 452.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.156e-05/0.36, allocations: 0 / 452.7 MB, free: 1.043 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005457/0.3655, allocations: 2.454 MB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.3655, allocations: 8.031 kB / 455.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004589/0.366, allocations: 332.9 kB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.3669, allocations: 275.4 kB / 455.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.3696, allocations: 1.277 MB / 457 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.3697, allocations: 176.9 kB / 457.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.37, allocations: 219.9 kB / 457.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/0.3747, allocations: 2.557 MB / 460 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3747, allocations: 3.938 kB / 460 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.3749, allocations: 88 kB / 460.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.375, allocations: 84.55 kB / 460.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/0.3789, allocations: 2.149 MB / 462.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.392, allocations: 7.544 MB / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.3932, allocations: 0.6902 MB / 470.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3944, allocations: 0.5829 MB / 471.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.3944, allocations: 16.44 kB / 471.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.3945, allocations: 39.06 kB / 471.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 4.017e-06/0.3945, allocations: 3.938 kB / 471.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004606/0.3991, allocations: 2.383 MB / 473.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3991, allocations: 64.06 kB / 473.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.4003, allocations: 0.8012 MB / 474.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.4004, allocations: 33.7 kB / 474.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.4012, allocations: 0.9558 MB / 475.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4015, allocations: 241.9 kB / 475.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.4017, allocations: 142.6 kB / 475.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4019, allocations: 390.8 kB / 476.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.4025, allocations: 369.8 kB / 476.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.4033, allocations: 0.5751 MB / 477.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.4047, allocations: 0.9834 MB / 478.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.4048, allocations: 4 kB / 478.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001916/0.4067, allocations: 1.157 MB / 479.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4067, allocations: 8 kB / 479.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4067, allocations: 8 kB / 479.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.407, allocations: 113.2 kB / 479.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.4077, allocations: 179.7 kB / 479.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.4101, allocations: 2.218 MB / 481.8 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.4106, allocations: 39.97 kB / 481.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.4107, allocations: 31.98 kB / 481.8 MB, free: 3.047 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.001088/0.4118, allocations: 0.6614 MB / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4119, allocations: 87.62 kB / 482.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.4121, allocations: 99.67 kB / 482.7 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.4122, allocations: 15.88 kB / 482.7 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4122, allocations: 4 kB / 482.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4122, allocations: 3.984 kB / 482.7 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.4166, allocations: 2.633 MB / 485.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4166, allocations: 4 kB / 485.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.4171, allocations: 107.9 kB / 485.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.4173, allocations: 100.8 kB / 485.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.4173, allocations: 23.98 kB / 485.6 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.4196, allocations: 2.152 MB / 487.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4196, allocations: 0 / 487.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.4217, allocations: 1.423 MB / 489.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.4221, allocations: 171.2 kB / 489.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.4222, allocations: 16.06 kB / 489.3 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.4226, allocations: 43.95 kB / 489.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4227, allocations: 44.41 kB / 489.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.4228, allocations: 16 kB / 489.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007716/0.4235, allocations: 0.5654 MB / 490 MB, free: 10.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4235, allocations: 0 / 490 MB, free: 10.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4246, allocations: 308 kB / 490.3 MB, free: 10.35 MB / 398.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.002811/0.4274, allocations: 1.99 MB / 492.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.4292, allocations: 0.9802 MB / 493.3 MB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4292, allocations: 0.625 kB / 493.3 MB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.43, allocations: 0.5324 MB / 493.8 MB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4311, allocations: 223 kB / 494 MB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.4478, allocations: 10.22 MB / 0.4924 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.4495, allocations: 1.724 MB / 0.4941 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000612/0.4501, allocations: 211.1 kB / 0.4943 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.451, allocations: 0.6438 MB / 0.4949 GB, free: 9.367 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/0.451, allocations: 0 / 0.4949 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07264/0.5236, allocations: 25.14 MB / 0.5195 GB, free: 432 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.52, allocations: 6.938 kB / 0.5195 GB, free: 428 kB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 16.03899204195477]