Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.00168/0.00168, allocations: 110 kB / 20.43 MB, free: 1.453 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.002025/0.002025, allocations: 210.6 kB / 23.74 MB, free: 4.66 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2861, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02716/0.3133, allocations: 26.83 MB / 458 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03118/0.3445, allocations: 22.43 MB / 480.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005777/0.3503, allocations: 269.1 kB / 480.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005557/0.3558, allocations: 1.788 MB / 482.5 MB, free: 3.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.3681, allocations: 3.322 MB / 485.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006067/0.3741, allocations: 1.64 MB / 487.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02342/0.3976, allocations: 12.92 MB / 0.4887 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.3989, allocations: 0.5082 MB / 0.4891 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.4027, allocations: 2.189 MB / 0.4913 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.4064, allocations: 2.1 MB / 0.4933 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.4068, allocations: 136 kB / 0.4935 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004845/0.4117, allocations: 1.541 MB / 0.495 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007826/0.4125, allocations: 0.5971 MB / 0.4956 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.416, allocations: 2.624 MB / 0.4981 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.4273, allocations: 6.667 MB / 0.5046 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4273, allocations: 0 / 0.5046 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4273, allocations: 0 / 0.5046 GB, free: 0.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.4275, allocations: 0 / 0.5046 GB, free: 0.75 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.0121/0.4396, allocations: 6.851 MB / 0.5113 GB, free: 9.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.4397, allocations: 12.03 kB / 0.5113 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.4399, allocations: 157.2 kB / 0.5115 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.4411, allocations: 0.7841 MB / 0.5122 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007652/0.4487, allocations: 4.383 MB / 0.5165 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.4488, allocations: 66 kB / 0.5166 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.4491, allocations: 107.8 kB / 0.5167 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.4514, allocations: 1.305 MB / 0.518 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4514, allocations: 0 / 0.518 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.4515, allocations: 39.98 kB / 0.518 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.4515, allocations: 35.98 kB / 0.518 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.4541, allocations: 1.488 MB / 0.5195 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.4649, allocations: 5.558 MB / 0.5249 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.4667, allocations: 0.8796 MB / 0.5258 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.4684, allocations: 1.063 MB / 0.5268 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2513/0.7196, allocations: 27.16 MB / 0.5533 GB, free: 95.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009551/0.7206, allocations: 0.5581 MB / 0.5539 GB, free: 95.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 4.599e-06/0.7206, allocations: 0.9375 kB / 0.5539 GB, free: 95.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.003062/0.7237, allocations: 1.904 MB / 0.5558 GB, free: 93.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7237, allocations: 72.67 kB / 0.5558 GB, free: 93.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.7295, allocations: 5.589 MB / 0.5613 GB, free: 87.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.7296, allocations: 37.7 kB / 0.5613 GB, free: 87.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.7314, allocations: 2.966 MB / 0.5642 GB, free: 84.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.7317, allocations: 315 kB / 0.5645 GB, free: 84.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.7322, allocations: 423 kB / 0.5649 GB, free: 84.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.7323, allocations: 301.1 kB / 0.5652 GB, free: 84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.7331, allocations: 407.3 kB / 0.5656 GB, free: 83.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.734, allocations: 1.089 MB / 0.5667 GB, free: 82.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.7358, allocations: 1.613 MB / 0.5682 GB, free: 80.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.7358, allocations: 8 kB / 0.5682 GB, free: 80.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003424/0.7392, allocations: 2.245 MB / 0.5704 GB, free: 78.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.7392, allocations: 16 kB / 0.5704 GB, free: 78.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/0.7394, allocations: 159.9 kB / 0.5706 GB, free: 77.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.7395, allocations: 36 kB / 0.5706 GB, free: 77.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7405, allocations: 355.4 kB / 0.571 GB, free: 77.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/0.7405, allocations: 51.78 kB / 0.571 GB, free: 77.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.7421, allocations: 193.9 kB / 0.5712 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.7423, allocations: 124 kB / 0.5713 GB, free: 77.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.7434, allocations: 0.7175 MB / 0.572 GB, free: 76.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.7438, allocations: 0.7492 MB / 0.5728 GB, free: 75.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.7474, allocations: 2.15 MB / 0.5749 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.7474, allocations: 8 kB / 0.5749 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7474, allocations: 0 / 0.5749 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7474, allocations: 3.984 kB / 0.5749 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.7518, allocations: 3.599 MB / 0.5784 GB, free: 69.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001447/0.7519, allocations: 136 kB / 0.5785 GB, free: 69.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.7526, allocations: 147.8 kB / 0.5787 GB, free: 69.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.7526, allocations: 4 kB / 0.5787 GB, free: 69.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.7527, allocations: 64.05 kB / 0.5787 GB, free: 69.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.7527, allocations: 11.56 kB / 0.5787 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7527, allocations: 0 / 0.5787 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.7552, allocations: 2.19 MB / 0.5809 GB, free: 67.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.7564, allocations: 0.7725 MB / 0.5816 GB, free: 66.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/0.757, allocations: 19.5 kB / 0.5816 GB, free: 66.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.758, allocations: 39.97 kB / 0.5817 GB, free: 66.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.7582, allocations: 96.55 kB / 0.5818 GB, free: 66.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7583, allocations: 68 kB / 0.5818 GB, free: 66.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004176/0.7625, allocations: 3.604 MB / 0.5854 GB, free: 62.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7625, allocations: 0 / 0.5854 GB, free: 62.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002485/0.7649, allocations: 1.092 MB / 0.5864 GB, free: 61.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004079/0.769, allocations: 3.849 MB / 0.5902 GB, free: 58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.7709, allocations: 1.363 MB / 0.5915 GB, free: 56.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7709, allocations: 0 / 0.5915 GB, free: 56.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.7718, allocations: 0.7361 MB / 0.5922 GB, free: 55.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/0.7759, allocations: 1.177 MB / 0.5934 GB, free: 54.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.039/0.8149, allocations: 30.56 MB / 0.6232 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.8162, allocations: 2.592 MB / 0.6258 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00173/0.818, allocations: 0.6885 MB / 0.6264 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/0.8196, allocations: 2.389 MB / 0.6288 GB, free: 17.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/0.8196, allocations: 0 / 0.6288 GB, free: 17.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/1.02, allocations: 112.5 MB / 0.7386 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.74/29.76, allocations: 4.062 kB / 0.7386 GB, free: 1.645 MB / 0.5294 GB " [Timeout remaining time 630] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Electrical_Spice3_Examples_FourInverters.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mp1.S.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv. Warning: Get data of variable mp1.S.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv failed! Error: Could not read variable mp2.S.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv. Warning: Get data of variable mp2.S.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv failed! Error: Could not read variable mp3.S.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv. Warning: Get data of variable mp3.S.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv failed! Error: Could not read variable mp4.S.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv. Warning: Get data of variable mp4.S.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv failed! Error: Could not read variable v.p.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv. Warning: Get data of variable v.p.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.717755491998105]