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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.523/1.523, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3149, allocations: 49.17 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01721/0.3321, allocations: 16.94 MB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.3449, allocations: 4.273 MB / 417.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005047/0.3499, allocations: 138.4 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01863/0.3686, allocations: 7.544 MB / 425.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.376, allocations: 1.414 MB / 426.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.3805, allocations: 1.367 MB / 428 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.3933, allocations: 8.628 MB / 436.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02731/0.4206, allocations: 14.45 MB / 451.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009577/0.4302, allocations: 5.074 MB / 456.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.4412, allocations: 5.564 MB / 461.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003862/0.4451, allocations: 1.402 MB / 463.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.4508, allocations: 1.668 MB / 464.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004293/0.4551, allocations: 2.72 MB / 467.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009945/0.465, allocations: 5.385 MB / 472.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02742/0.4924, allocations: 18.58 MB / 491.5 MB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4924, allocations: 0 / 491.5 MB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4924, allocations: 0 / 491.5 MB, free: 3.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006464/0.4931, allocations: 4 kB / 491.5 MB, free: 3.723 MB / 398.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.03641/0.5295, allocations: 10.9 MB / 0.4906 GB, free: 8.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5295, allocations: 11.98 kB / 0.4906 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004957/0.5345, allocations: 1.356 MB / 0.492 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0308/0.5653, allocations: 5.746 MB / 0.4976 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.5793, allocations: 4.915 MB / 0.5024 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008761/0.5802, allocations: 0.6987 MB / 0.5031 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003746/0.5839, allocations: 0.9179 MB / 0.504 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03425/0.6182, allocations: 13.6 MB / 0.5172 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002675/0.6184, allocations: 15.89 kB / 0.5173 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.6209, allocations: 388 kB / 0.5176 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005245/0.6214, allocations: 456 kB / 0.5181 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/0.6516, allocations: 12.82 MB / 0.5306 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4586/1.11, allocations: 44.44 MB / 0.574 GB, free: 115.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.12, allocations: 5.366 MB / 0.5792 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/1.123, allocations: 1.701 MB / 0.5809 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.134, allocations: 5.735 MB / 0.5865 GB, free: 114.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.134, allocations: 60.09 kB / 0.5865 GB, free: 114.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.958e-06/1.134, allocations: 0.9375 kB / 0.5865 GB, free: 114.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.0069/1.141, allocations: 4.244 MB / 0.5907 GB, free: 113.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.141, allocations: 74.44 kB / 0.5908 GB, free: 113.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/1.145, allocations: 3.331 MB / 0.594 GB, free: 112.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002222/1.145, allocations: 56.89 kB / 0.5941 GB, free: 112.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/1.148, allocations: 4.351 MB / 0.5983 GB, free: 109.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/1.148, allocations: 0.7253 MB / 0.599 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/1.149, allocations: 1.063 MB / 0.6001 GB, free: 108.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.15, allocations: 308.9 kB / 0.6004 GB, free: 108 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.152, allocations: 2.039 MB / 0.6023 GB, free: 107 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/1.155, allocations: 4.691 MB / 0.6069 GB, free: 102.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/1.161, allocations: 7.093 MB / 0.6139 GB, free: 96.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-05/1.161, allocations: 25.34 kB / 0.6139 GB, free: 96.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01181/1.173, allocations: 7.019 MB / 0.6207 GB, free: 92.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/1.173, allocations: 44 kB / 0.6208 GB, free: 92.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.173, allocations: 91.91 kB / 0.6209 GB, free: 92.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/1.174, allocations: 429.6 kB / 0.6213 GB, free: 92.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/1.178, allocations: 1.175 MB / 0.6224 GB, free: 91.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/1.183, allocations: 4.274 MB / 0.6266 GB, free: 87.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.188, allocations: 0.7295 MB / 0.6273 GB, free: 86.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/1.189, allocations: 292 kB / 0.6276 GB, free: 86.05 MB / 478.1 MB 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.0061/1.195, allocations: 3.485 MB / 0.631 GB, free: 82.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007528/1.196, allocations: 306 kB / 0.6313 GB, free: 82.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/1.201, allocations: 3.309 MB / 0.6345 GB, free: 78.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00299/1.204, allocations: 2.534 MB / 0.637 GB, free: 76.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.204, allocations: 4 kB / 0.637 GB, free: 76.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.204, allocations: 11.95 kB / 0.637 GB, free: 76.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/1.222, allocations: 9.334 MB / 0.6461 GB, free: 67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.222, allocations: 3.938 kB / 0.6461 GB, free: 66.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.223, allocations: 363.4 kB / 0.6465 GB, free: 66.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/1.224, allocations: 313.2 kB / 0.6468 GB, free: 66.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/1.224, allocations: 43.98 kB / 0.6468 GB, free: 66.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004154/1.228, allocations: 4.089 MB / 0.6508 GB, free: 62.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.228, allocations: 6.312 kB / 0.6508 GB, free: 62.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/1.234, allocations: 4.704 MB / 0.6554 GB, free: 57.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.235, allocations: 0.5444 MB / 0.6559 GB, free: 56.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006371/1.236, allocations: 32 kB / 0.656 GB, free: 56.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.237, allocations: 131.8 kB / 0.6561 GB, free: 56.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.238, allocations: 133.7 kB / 0.6562 GB, free: 56.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.238, allocations: 67.98 kB / 0.6563 GB, free: 56.44 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003497/1.241, allocations: 2.194 MB / 0.6584 GB, free: 54.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.241, allocations: 0 / 0.6584 GB, free: 54.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006/1.247, allocations: 2.054 MB / 0.6604 GB, free: 52.18 MB / 478.1 MB 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.006099/1.253, allocations: 5.34 MB / 0.6656 GB, free: 46.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006549/1.26, allocations: 4.528 MB / 0.6701 GB, free: 42.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.26, allocations: 0 / 0.6701 GB, free: 42.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.262, allocations: 1.474 MB / 0.6715 GB, free: 40.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.265, allocations: 0.7014 MB / 0.6722 GB, free: 40.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.078/1.343, allocations: 42.96 MB / 0.7141 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/1.355, allocations: 5.807 MB / 0.7198 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005631/1.36, allocations: 1.832 MB / 0.7216 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005516/1.366, allocations: 2.863 MB / 0.7244 GB, free: 15.43 MB / 0.4982 GB Notification: Performance of SimCode: time 1.122e-06/1.366, allocations: 4 kB / 0.7244 GB, free: 15.42 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3809/1.747, allocations: 96.62 MB / 0.8188 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/19.95, allocations: 7.328 kB / 0.8188 GB, free: 130.6 MB / 0.5138 GB " [Timeout remaining time 640] (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/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/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: 23.048853325890377]