Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.0009033/0.0009033, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.0009526/0.0009526, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.938/0.938, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.295e-05, allocations: 3.125 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01306/0.01308, allocations: 14.28 MB / 338.8 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.02062, allocations: 4.04 MB / 342.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.02257, allocations: 159.2 kB / 343 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006921/0.02949, allocations: 7.334 MB / 350.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.03283, allocations: 1.37 MB / 351.7 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.03456, allocations: 1.223 MB / 352.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.04092, allocations: 8.585 MB / 361.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/0.05825, allocations: 14.26 MB / 375.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.06897, allocations: 7.326 MB / 383.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006596/0.07557, allocations: 4.635 MB / 387.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002849/0.07842, allocations: 1.383 MB / 389.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.08242, allocations: 1.656 MB / 390.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003072/0.08549, allocations: 2.63 MB / 393.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.09123, allocations: 3.486 MB / 396.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.1066, allocations: 18.54 MB / 415.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1066, allocations: 0 / 415.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1066, allocations: 0 / 415.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004919/0.1071, allocations: 0 / 415.4 MB, free: 4.594 MB / 378.7 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.02021/0.1273, allocations: 10.46 MB / 425.9 MB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1274, allocations: 19.98 kB / 425.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002212/0.1296, allocations: 1.294 MB / 427.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009726/0.1393, allocations: 3.71 MB / 430.9 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.1475, allocations: 5.433 MB / 436.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/0.1479, allocations: 0.6864 MB / 437 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/0.1497, allocations: 0.8867 MB / 437.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.1674, allocations: 12.81 MB / 450.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.1676, allocations: 11.95 kB / 450.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006024/0.1682, allocations: 376 kB / 451.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.1684, allocations: 391.1 kB / 451.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2959/0.4643, allocations: 11.4 MB / 462.9 MB, free: 101.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.5028, allocations: 38.99 MB / 0.4901 GB, free: 62.63 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.507, allocations: 4.163 MB / 0.4942 GB, free: 58.73 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.5082, allocations: 1.534 MB / 0.4957 GB, free: 57.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5084, allocations: 79.41 kB / 0.4958 GB, free: 57.13 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5084, allocations: 60.55 kB / 0.4958 GB, free: 57.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 7.995e-06/0.5084, allocations: 0 / 0.4958 GB, free: 57.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004644/0.513, allocations: 4.593 MB / 0.5003 GB, free: 52.47 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5131, allocations: 81.34 kB / 0.5004 GB, free: 52.38 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.5154, allocations: 3.063 MB / 0.5034 GB, free: 49.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.5155, allocations: 61.7 kB / 0.5034 GB, free: 49.33 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.5164, allocations: 3.964 MB / 0.5073 GB, free: 45.72 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5167, allocations: 0.8204 MB / 0.5081 GB, free: 44.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.5174, allocations: 0.9488 MB / 0.509 GB, free: 43.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.43e-05/0.5174, allocations: 309.1 kB / 0.5093 GB, free: 43.64 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.5189, allocations: 1.973 MB / 0.5112 GB, free: 41.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.5208, allocations: 4.161 MB / 0.5153 GB, free: 36.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.5249, allocations: 6.517 MB / 0.5217 GB, free: 28.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.824e-05/0.5249, allocations: 28 kB / 0.5217 GB, free: 28.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005924/0.5308, allocations: 6.52 MB / 0.5281 GB, free: 22.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.5309, allocations: 36 kB / 0.5281 GB, free: 22.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.134e-05/0.5309, allocations: 76 kB / 0.5282 GB, free: 22.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.5315, allocations: 408.8 kB / 0.5286 GB, free: 21.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5331, allocations: 1.068 MB / 0.5296 GB, free: 20.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.5359, allocations: 4.209 MB / 0.5337 GB, free: 16.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5378, allocations: 0.6403 MB / 0.5343 GB, free: 15.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.5379, allocations: 248.1 kB / 0.5346 GB, free: 15.52 MB / 410.8 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.00341/0.5414, allocations: 3.373 MB / 0.5379 GB, free: 12.13 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.5417, allocations: 282.2 kB / 0.5381 GB, free: 11.85 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.5448, allocations: 3.577 MB / 0.5416 GB, free: 8.246 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002271/0.5471, allocations: 2.804 MB / 0.5444 GB, free: 5.438 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5471, allocations: 8 kB / 0.5444 GB, free: 5.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5471, allocations: 11.95 kB / 0.5444 GB, free: 5.418 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/0.5569, allocations: 9.591 MB / 0.5538 GB, free: 11.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5569, allocations: 0 / 0.5538 GB, free: 11.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.5577, allocations: 419.5 kB / 0.5542 GB, free: 11.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.5582, allocations: 321.2 kB / 0.5545 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.5583, allocations: 51.92 kB / 0.5545 GB, free: 11.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.5617, allocations: 4.039 MB / 0.5585 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5617, allocations: 3.938 kB / 0.5585 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/0.5669, allocations: 5.134 MB / 0.5635 GB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.568, allocations: 0.56 MB / 0.564 GB, free: 1.141 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.5681, allocations: 36 kB / 0.5641 GB, free: 1.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.5687, allocations: 139.8 kB / 0.5642 GB, free: 0.9688 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.5689, allocations: 157.6 kB / 0.5643 GB, free: 0.8125 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.569, allocations: 71.97 kB / 0.5644 GB, free: 0.7422 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00204/0.5711, allocations: 1.967 MB / 0.5663 GB, free: 14.76 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5711, allocations: 0 / 0.5663 GB, free: 14.76 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003909/0.575, allocations: 1.988 MB / 0.5683 GB, free: 12.77 MB / 442.8 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.005506/0.5805, allocations: 5.797 MB / 0.5739 GB, free: 6.93 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.5862, allocations: 4.442 MB / 0.5783 GB, free: 2.488 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5862, allocations: 0 / 0.5783 GB, free: 2.488 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.5879, allocations: 1.622 MB / 0.5799 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.59, allocations: 0.6701 MB / 0.5805 GB, free: 204 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04727/0.6373, allocations: 40.21 MB / 0.6198 GB, free: 5.336 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004923/0.6422, allocations: 5.172 MB / 0.6248 GB, free: 124 kB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.1596/0.8018, allocations: 1.69 MB / 0.6265 GB, free: 168.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/0.8048, allocations: 2.745 MB / 0.6292 GB, free: 168.2 MB / 490.8 MB Notification: Performance of SimCode: time 1.833e-06/0.8048, allocations: 0 / 0.6292 GB, free: 168.2 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09872/0.9035, allocations: 91.76 MB / 0.7188 GB, free: 88.57 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.669/10.57, allocations: 7.984 kB / 0.7188 GB, free: 88.56 MB / 490.8 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.654920347034931]