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.001997/0.001997, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002618/0.002618, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.001962/0.001962, allocations: 71.81 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.231, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.0242/0.2552, allocations: 22.25 MB / 453.4 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.2832, allocations: 19.55 MB / 472.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003902/0.2871, allocations: 269.1 kB / 473.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.2913, allocations: 1.675 MB / 474.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.3014, allocations: 3.314 MB / 478.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004738/0.3062, allocations: 1.593 MB / 479.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01971/0.3259, allocations: 12.91 MB / 492.7 MB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.3273, allocations: 0.4925 MB / 493.2 MB, free: 8.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.331, allocations: 2.213 MB / 495.4 MB, free: 5.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.3338, allocations: 2.018 MB / 497.4 MB, free: 3.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.3343, allocations: 132 kB / 497.5 MB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.3382, allocations: 1.257 MB / 498.8 MB, free: 2.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007813/0.3389, allocations: 0.6088 MB / 499.4 MB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.3416, allocations: 1.925 MB / 0.4896 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.3503, allocations: 6.738 MB / 0.4962 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3503, allocations: 0 / 0.4962 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3503, allocations: 0 / 0.4962 GB, free: 9.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3504, allocations: 0 / 0.4962 GB, free: 9.156 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.01057/0.361, allocations: 6.851 MB / 0.5028 GB, free: 2.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.361, allocations: 19.91 kB / 0.5029 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/0.3612, allocations: 165.2 kB / 0.503 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.3622, allocations: 0.7764 MB / 0.5038 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.3697, allocations: 4.375 MB / 0.5081 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.3697, allocations: 69.94 kB / 0.5081 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.37, allocations: 107.6 kB / 0.5082 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.3723, allocations: 1.305 MB / 0.5095 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3724, allocations: 0 / 0.5095 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.3725, allocations: 40 kB / 0.5095 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.3725, allocations: 35.98 kB / 0.5096 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.3752, allocations: 1.484 MB / 0.511 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009816/0.385, allocations: 5.294 MB / 0.5162 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3868, allocations: 0.8757 MB / 0.517 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.3884, allocations: 1.056 MB / 0.5181 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2282/0.6167, allocations: 27.06 MB / 0.5445 GB, free: 102.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008431/0.6175, allocations: 0.5595 MB / 0.5451 GB, free: 102.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 2.875e-06/0.6175, allocations: 0 / 0.5451 GB, free: 102.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002643/0.6202, allocations: 1.911 MB / 0.5469 GB, free: 101.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.6202, allocations: 62.41 kB / 0.547 GB, free: 101.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/0.625, allocations: 5.634 MB / 0.5525 GB, free: 95.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.6251, allocations: 37.7 kB / 0.5525 GB, free: 95.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.6268, allocations: 2.965 MB / 0.5554 GB, free: 92.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.627, allocations: 319.4 kB / 0.5557 GB, free: 92.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.6274, allocations: 427 kB / 0.5561 GB, free: 92.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.6274, allocations: 305 kB / 0.5564 GB, free: 91.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.6281, allocations: 406.2 kB / 0.5568 GB, free: 91.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.629, allocations: 1.089 MB / 0.5579 GB, free: 90.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.6306, allocations: 1.609 MB / 0.5594 GB, free: 88.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.6306, allocations: 4 kB / 0.5594 GB, free: 88.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002842/0.6335, allocations: 2.248 MB / 0.5616 GB, free: 86.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6335, allocations: 16 kB / 0.5616 GB, free: 86.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.6337, allocations: 160 kB / 0.5618 GB, free: 85.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.6337, allocations: 35.5 kB / 0.5618 GB, free: 85.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6348, allocations: 355.4 kB / 0.5622 GB, free: 85.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/0.6348, allocations: 47.84 kB / 0.5622 GB, free: 85.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.6367, allocations: 187.2 kB / 0.5624 GB, free: 85.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.6368, allocations: 134 kB / 0.5625 GB, free: 85.17 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.001236/0.6381, allocations: 0.7079 MB / 0.5632 GB, free: 84.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.6387, allocations: 0.7608 MB / 0.564 GB, free: 83.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/0.6423, allocations: 2.145 MB / 0.5661 GB, free: 81.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6423, allocations: 8 kB / 0.5661 GB, free: 81.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6423, allocations: 3.828 kB / 0.5661 GB, free: 81.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6423, allocations: 3.984 kB / 0.5661 GB, free: 81.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.6468, allocations: 3.497 MB / 0.5695 GB, free: 78.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000146/0.647, allocations: 140 kB / 0.5696 GB, free: 77.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.6477, allocations: 155.8 kB / 0.5698 GB, free: 77.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6477, allocations: 4 kB / 0.5698 GB, free: 77.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.6478, allocations: 59.98 kB / 0.5698 GB, free: 77.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6478, allocations: 4 kB / 0.5698 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6478, allocations: 0 / 0.5698 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.6504, allocations: 2.194 MB / 0.572 GB, free: 75.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.6518, allocations: 0.7827 MB / 0.5727 GB, free: 74.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.6523, allocations: 15.98 kB / 0.5728 GB, free: 74.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6534, allocations: 38.47 kB / 0.5728 GB, free: 74.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.6536, allocations: 100.5 kB / 0.5729 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/0.6537, allocations: 75.02 kB / 0.573 GB, free: 74.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00353/0.6572, allocations: 3.608 MB / 0.5765 GB, free: 70.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6572, allocations: 0 / 0.5765 GB, free: 70.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001847/0.6591, allocations: 1.082 MB / 0.5775 GB, free: 69.96 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.004106/0.6632, allocations: 3.842 MB / 0.5813 GB, free: 66.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.6651, allocations: 1.374 MB / 0.5826 GB, free: 64.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6651, allocations: 4 kB / 0.5826 GB, free: 64.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.666, allocations: 0.732 MB / 0.5833 GB, free: 63.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/0.67, allocations: 1.168 MB / 0.5845 GB, free: 62.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/0.7043, allocations: 30.53 MB / 0.6143 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.7056, allocations: 2.105 MB / 0.6164 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001884/0.7075, allocations: 0.6807 MB / 0.617 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/0.7093, allocations: 2.397 MB / 0.6194 GB, free: 26.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7093, allocations: 0 / 0.6194 GB, free: 26.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/0.9019, allocations: 117 MB / 0.7337 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.19/24.09, allocations: 0 / 0.7337 GB, free: 5.789 MB / 0.5294 GB " [Timeout remaining time 636] (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: 27.148084739223123]