Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 121.4 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 189.2 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 231.8 MB, free: 4.004 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1002, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.02007/0.1203, allocations: 16.92 MB / 408.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009891/0.1302, allocations: 4.256 MB / 412.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004177/0.1343, allocations: 115.7 kB / 412.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0174/0.1517, allocations: 7.53 MB / 420.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006203/0.1579, allocations: 1.546 MB / 421.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.1618, allocations: 1.212 MB / 423 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.1736, allocations: 8.569 MB / 431.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02992/0.2035, allocations: 17.37 MB / 448.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008209/0.2117, allocations: 4.968 MB / 453.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00998/0.2217, allocations: 5.556 MB / 459.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003832/0.2255, allocations: 1.402 MB / 460.8 MB, free: 2.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.2308, allocations: 1.668 MB / 462.5 MB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2051/0.4359, allocations: 2.708 MB / 465.2 MB, free: 27.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01306/0.449, allocations: 5.38 MB / 470.6 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02013/0.4691, allocations: 18.59 MB / 489.2 MB, free: 20.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4691, allocations: 0 / 489.2 MB, free: 20.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4691, allocations: 0 / 489.2 MB, free: 20.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005294/0.4696, allocations: 0 / 489.2 MB, free: 20.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03381/0.5035, allocations: 10.98 MB / 0.4884 GB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5035, allocations: 14.34 kB / 0.4884 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005202/0.5087, allocations: 1.351 MB / 0.4898 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/0.5375, allocations: 5.74 MB / 0.4954 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.5494, allocations: 4.858 MB / 0.5001 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/0.5499, allocations: 0.7005 MB / 0.5008 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/0.5532, allocations: 0.9241 MB / 0.5017 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/0.5869, allocations: 13.6 MB / 0.515 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/0.5871, allocations: 11.95 kB / 0.515 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/0.5902, allocations: 387.8 kB / 0.5154 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005186/0.5907, allocations: 464 kB / 0.5158 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03123/0.6219, allocations: 12.82 MB / 0.5283 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09048/0.7124, allocations: 46.46 MB / 0.5737 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/0.7296, allocations: 16.85 MB / 0.5902 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.7326, allocations: 1.702 MB / 0.5918 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.7449, allocations: 5.98 MB / 0.5977 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.745, allocations: 55.38 kB / 0.5977 GB, free: 1.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.868e-06/0.745, allocations: 0 / 0.5977 GB, free: 1.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008905/0.7539, allocations: 4.317 MB / 0.6019 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.754, allocations: 69.41 kB / 0.602 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00634/0.7603, allocations: 3.329 MB / 0.6052 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/0.7607, allocations: 57.7 kB / 0.6053 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003769/0.7645, allocations: 4.346 MB / 0.6095 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009911/0.7655, allocations: 0.7229 MB / 0.6102 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.7672, allocations: 1.067 MB / 0.6113 GB, free: 3.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7673, allocations: 305.1 kB / 0.6116 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.7705, allocations: 2.044 MB / 0.6136 GB, free: 1.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005512/0.776, allocations: 4.688 MB / 0.6182 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009926/0.786, allocations: 7.098 MB / 0.6251 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.924e-05/0.7861, allocations: 24 kB / 0.6251 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01512/0.8012, allocations: 7.014 MB / 0.632 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.8013, allocations: 51.84 kB / 0.632 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/0.8015, allocations: 92 kB / 0.6321 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.8026, allocations: 435 kB / 0.6325 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/0.8069, allocations: 1.184 MB / 0.6337 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/0.8129, allocations: 4.381 MB / 0.6379 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/0.8181, allocations: 0.7295 MB / 0.6387 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/0.8193, allocations: 292 kB / 0.6389 GB, free: 6.059 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.008192/0.8275, allocations: 3.484 MB / 0.6423 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/0.8285, allocations: 298 kB / 0.6426 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2159/1.044, allocations: 3.305 MB / 0.6458 GB, free: 177 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004327/1.049, allocations: 2.539 MB / 0.6483 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.049, allocations: 4 kB / 0.6483 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.049, allocations: 9.281 kB / 0.6483 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/1.066, allocations: 9.291 MB / 0.6574 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.066, allocations: 0 / 0.6574 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.068, allocations: 365.6 kB / 0.6578 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006313/1.068, allocations: 312 kB / 0.6581 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.068, allocations: 39.84 kB / 0.6581 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/1.072, allocations: 4.2 MB / 0.6622 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.072, allocations: 0 / 0.6622 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/1.078, allocations: 4.708 MB / 0.6668 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.08, allocations: 0.6019 MB / 0.6674 GB, free: 170.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.08, allocations: 33.2 kB / 0.6674 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.081, allocations: 137 kB / 0.6675 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.082, allocations: 129.4 kB / 0.6677 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.082, allocations: 56.16 kB / 0.6677 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003651/1.085, allocations: 2.201 MB / 0.6699 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.085, allocations: 0 / 0.6699 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005821/1.091, allocations: 2.058 MB / 0.6719 GB, free: 168.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.006355/1.098, allocations: 5.361 MB / 0.6771 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006392/1.104, allocations: 4.517 MB / 0.6815 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.104, allocations: 0 / 0.6815 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/1.106, allocations: 1.482 MB / 0.683 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/1.109, allocations: 0.6772 MB / 0.6836 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05946/1.168, allocations: 42.85 MB / 0.7255 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00652/1.175, allocations: 5.792 MB / 0.7311 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003725/1.178, allocations: 1.825 MB / 0.7329 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003028/1.181, allocations: 2.859 MB / 0.7357 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.233e-06/1.181, allocations: 0 / 0.7357 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/1.333, allocations: 92.31 MB / 0.8259 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.24, allocations: 12 kB / 0.8259 GB, free: 13.9 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 20.49085495993495]