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.001537/0.001537, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001732/0.001732, allocations: 211 kB / 24.53 MB, free: 4.07 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.501/1.501, allocations: 230.5 MB / 258.2 MB, free: 8.016 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2872, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008049/0.2952, allocations: 6.09 MB / 438.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.2994, allocations: 1.709 MB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009678/0.3004, allocations: 63.62 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.3013, allocations: 321.4 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.3029, allocations: 393.5 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.3038, allocations: 359.5 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3066, allocations: 2.032 MB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.3093, allocations: 1.599 MB / 444.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3108, allocations: 1.083 MB / 445.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.3129, allocations: 1.23 MB / 446.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000583/0.3135, allocations: 308 kB / 447.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3147, allocations: 0.5152 MB / 447.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009023/0.3156, allocations: 0.7364 MB / 448.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.3177, allocations: 1.26 MB / 449.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.3226, allocations: 3.827 MB / 453.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3226, allocations: 0 / 453.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3226, allocations: 4 kB / 453.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001484/0.3227, allocations: 0 / 453.5 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.006251/0.329, allocations: 2.454 MB / 455.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.329, allocations: 12.03 kB / 455.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.226e-05/0.3291, allocations: 60.72 kB / 456 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003958/0.3295, allocations: 329 kB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.3303, allocations: 279.4 kB / 456.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.3326, allocations: 1.281 MB / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.3328, allocations: 168.7 kB / 458 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.3331, allocations: 220 kB / 458.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.3374, allocations: 2.561 MB / 460.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.3374, allocations: 0 / 460.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.3376, allocations: 88 kB / 460.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.3377, allocations: 88.53 kB / 461 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.3413, allocations: 2.149 MB / 463.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.353, allocations: 7.536 MB / 470.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3541, allocations: 0.7019 MB / 471.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3551, allocations: 0.5907 MB / 472 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.3552, allocations: 8.5 kB / 472 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3552, allocations: 39.06 kB / 472 MB, free: 14.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.494e-06/0.3552, allocations: 0 / 472 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004192/0.3594, allocations: 2.387 MB / 474.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3594, allocations: 60.06 kB / 474.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.3605, allocations: 0.8012 MB / 475.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.3605, allocations: 41.7 kB / 475.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/0.3612, allocations: 0.948 MB / 476.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.3614, allocations: 238 kB / 476.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.3616, allocations: 142.6 kB / 476.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3618, allocations: 394.7 kB / 477 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.3624, allocations: 365.8 kB / 477.4 MB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.3632, allocations: 0.579 MB / 477.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.3646, allocations: 0.9911 MB / 478.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3646, allocations: 7.938 kB / 478.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/0.3665, allocations: 1.15 MB / 480.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3666, allocations: 8 kB / 480.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3666, allocations: 8 kB / 480.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.3669, allocations: 100.8 kB / 480.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.3675, allocations: 179.8 kB / 480.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.3701, allocations: 2.226 MB / 482.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.3707, allocations: 39.91 kB / 482.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.3708, allocations: 32 kB / 482.7 MB, free: 2.98 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.001196/0.372, allocations: 0.6535 MB / 483.3 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.3722, allocations: 91.5 kB / 483.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.3725, allocations: 103.7 kB / 483.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.3725, allocations: 11.98 kB / 483.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3725, allocations: 0 / 483.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3725, allocations: 7.984 kB / 483.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/0.3774, allocations: 2.633 MB / 486.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.3774, allocations: 8.031 kB / 486.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.3778, allocations: 107.8 kB / 486.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/0.3781, allocations: 96.78 kB / 486.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.3781, allocations: 19.98 kB / 486.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.3804, allocations: 2.163 MB / 488.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3804, allocations: 0 / 488.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.3826, allocations: 1.423 MB / 490 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.383, allocations: 159.3 kB / 490.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.3832, allocations: 16.06 kB / 490.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.3837, allocations: 44.02 kB / 490.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.3838, allocations: 52.41 kB / 490.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.3839, allocations: 16 kB / 490.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008791/0.3847, allocations: 0.5614 MB / 490.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 192 / 490.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3859, allocations: 304 kB / 491.1 MB, free: 10.29 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.002657/0.3886, allocations: 2.005 MB / 493.1 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.3904, allocations: 0.9751 MB / 494.1 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3904, allocations: 1.688 kB / 494.1 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009202/0.3913, allocations: 0.5327 MB / 494.6 MB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3924, allocations: 214.7 kB / 494.8 MB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.4087, allocations: 10.23 MB / 0.4932 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.4104, allocations: 1.728 MB / 0.4949 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006172/0.411, allocations: 207.1 kB / 0.4951 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/0.4118, allocations: 0.6438 MB / 0.4957 GB, free: 9.305 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4118, allocations: 3.938 kB / 0.4958 GB, free: 9.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05888/0.4707, allocations: 25.2 MB / 0.5204 GB, free: 328 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.11, allocations: 0.75 kB / 0.5204 GB, free: 328 kB / 430.1 MB " [Timeout remaining time 647] (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: 15.869156975008082]