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.001368/0.001368, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001571/0.001571, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.456/1.456, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.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 0.00186/0.00186, allocations: 67.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2097/0.3178, allocations: 16.58 MB / 443.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008694/0.3265, allocations: 4.147 MB / 447.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.3298, allocations: 137.9 kB / 447.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01747/0.3473, allocations: 7.49 MB / 455 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.3537, allocations: 1.346 MB / 456.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.3576, allocations: 1.233 MB / 457.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.3689, allocations: 8.256 MB / 465.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03143/0.4003, allocations: 17.34 MB / 483.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00963/0.41, allocations: 4.816 MB / 488 MB, free: 3.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01168/0.4216, allocations: 5.346 MB / 493.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00491/0.4266, allocations: 1.383 MB / 494.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006732/0.4333, allocations: 1.668 MB / 496.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004431/0.4377, allocations: 2.58 MB / 499 MB, free: 8.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.4482, allocations: 5.226 MB / 0.4924 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02574/0.474, allocations: 18.35 MB / 0.5103 GB, free: 1.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.474, allocations: 3.984 kB / 0.5103 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.474, allocations: 4 kB / 0.5103 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005115/0.4745, allocations: 0 / 0.5103 GB, free: 1.117 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.03262/0.5071, allocations: 10.63 MB / 0.5207 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5072, allocations: 8.031 kB / 0.5207 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004309/0.5115, allocations: 1.294 MB / 0.522 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/0.531, allocations: 3.706 MB / 0.5256 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.5442, allocations: 5.375 MB / 0.5308 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006873/0.5449, allocations: 0.6823 MB / 0.5315 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/0.5479, allocations: 0.8906 MB / 0.5324 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/0.5798, allocations: 12.74 MB / 0.5448 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002397/0.5801, allocations: 7.953 kB / 0.5448 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/0.5817, allocations: 380 kB / 0.5452 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.5821, allocations: 395.1 kB / 0.5456 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.6071, allocations: 11.43 MB / 0.5567 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07762/0.6847, allocations: 43.72 MB / 0.5994 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.6968, allocations: 10.28 MB / 0.6095 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/0.6993, allocations: 1.536 MB / 0.611 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.6997, allocations: 244 kB / 0.6112 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/0.6997, allocations: 56.56 kB / 0.6113 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.729e-06/0.6997, allocations: 0 / 0.6113 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009186/0.7089, allocations: 4.68 MB / 0.6158 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.709, allocations: 73.41 kB / 0.6159 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4017/1.111, allocations: 2.921 MB / 0.6187 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000366/1.111, allocations: 62.17 kB / 0.6188 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.113, allocations: 3.98 MB / 0.6227 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008091/1.114, allocations: 0.8252 MB / 0.6235 GB, free: 150 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/1.116, allocations: 0.9639 MB / 0.6244 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/1.116, allocations: 311.5 kB / 0.6247 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/1.119, allocations: 1.971 MB / 0.6267 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/1.123, allocations: 4.163 MB / 0.6307 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/1.13, allocations: 6.518 MB / 0.6371 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/1.13, allocations: 21.38 kB / 0.6371 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01136/1.142, allocations: 6.527 MB / 0.6435 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.142, allocations: 37.39 kB / 0.6435 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/1.142, allocations: 74.78 kB / 0.6436 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.143, allocations: 415.9 kB / 0.644 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.147, allocations: 1.064 MB / 0.645 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/1.152, allocations: 4.379 MB / 0.6493 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/1.155, allocations: 0.6306 MB / 0.6499 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007621/1.156, allocations: 254.9 kB / 0.6502 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.005502/1.162, allocations: 3.365 MB / 0.6535 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007598/1.162, allocations: 296.9 kB / 0.6537 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/1.168, allocations: 3.563 MB / 0.6572 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003365/1.171, allocations: 2.811 MB / 0.66 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.171, allocations: 5.125 kB / 0.66 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.171, allocations: 11.39 kB / 0.66 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.186, allocations: 9.879 MB / 0.6696 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.186, allocations: 4.906 kB / 0.6696 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.188, allocations: 414.5 kB / 0.67 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/1.189, allocations: 308.5 kB / 0.6703 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.189, allocations: 58.2 kB / 0.6704 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/1.192, allocations: 4.198 MB / 0.6745 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.192, allocations: 2.719 kB / 0.6745 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/1.198, allocations: 5.155 MB / 0.6795 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.199, allocations: 0.6196 MB / 0.6801 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/1.2, allocations: 40.77 kB / 0.6802 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.201, allocations: 131.8 kB / 0.6803 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/1.201, allocations: 153.8 kB / 0.6804 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.201, allocations: 63.98 kB / 0.6805 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002241/1.203, allocations: 1.967 MB / 0.6824 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.203, allocations: 0 / 0.6824 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004676/1.208, allocations: 1.984 MB / 0.6843 GB, free: 114.4 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.005927/1.214, allocations: 5.806 MB / 0.69 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005872/1.22, allocations: 4.439 MB / 0.6944 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.22, allocations: 4 kB / 0.6944 GB, free: 104.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.222, allocations: 1.617 MB / 0.6959 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/1.225, allocations: 0.6737 MB / 0.6966 GB, free: 101.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/1.275, allocations: 40.12 MB / 0.7358 GB, free: 59.11 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004637/1.28, allocations: 5.647 MB / 0.7413 GB, free: 53.43 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00323/1.283, allocations: 1.696 MB / 0.7429 GB, free: 51.73 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002682/1.286, allocations: 2.741 MB / 0.7456 GB, free: 48.99 MB / 0.5138 GB Notification: Performance of SimCode: time 9.82e-07/1.286, allocations: 0 / 0.7456 GB, free: 48.99 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3672/1.653, allocations: 90.76 MB / 0.8343 GB, free: 155.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/18.24, allocations: 11.73 kB / 0.8343 GB, free: 155.8 MB / 0.545 GB " [Timeout remaining time 642] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.35091625712812]