Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.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.001724/0.001724, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002084/0.002084, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2163, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02375/0.2401, allocations: 22.24 MB / 454.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.268, allocations: 19.55 MB / 474.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003875/0.2718, allocations: 269.1 kB / 474.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.2761, allocations: 1.68 MB / 476.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.2864, allocations: 3.314 MB / 479.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.2911, allocations: 1.597 MB / 481 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01889/0.31, allocations: 12.9 MB / 493.9 MB, free: 8.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.311, allocations: 0.5082 MB / 494.4 MB, free: 8.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.3142, allocations: 2.213 MB / 496.6 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.3167, allocations: 2.1 MB / 498.7 MB, free: 4.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003896/0.3171, allocations: 132 kB / 498.8 MB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.3206, allocations: 1.296 MB / 0.4884 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.3212, allocations: 0.601 MB / 0.489 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.3233, allocations: 1.929 MB / 0.4909 GB, free: 88 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007996/0.3313, allocations: 6.745 MB / 0.4975 GB, free: 9.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3313, allocations: 0 / 0.4975 GB, free: 9.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3313, allocations: 0 / 0.4975 GB, free: 9.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.3314, allocations: 0 / 0.4975 GB, free: 9.309 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.01042/0.3418, allocations: 6.851 MB / 0.5041 GB, free: 2.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3418, allocations: 12.03 kB / 0.5042 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.3427, allocations: 0.7764 MB / 0.5049 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00763/0.3504, allocations: 4.371 MB / 0.5092 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.3504, allocations: 70 kB / 0.5093 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.3507, allocations: 107.9 kB / 0.5094 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.3532, allocations: 1.309 MB / 0.5106 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3532, allocations: 0 / 0.5106 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.3534, allocations: 39.98 kB / 0.5107 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.3534, allocations: 35.98 kB / 0.5107 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.3562, allocations: 1.488 MB / 0.5122 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.3667, allocations: 5.128 MB / 0.5172 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3684, allocations: 0.8757 MB / 0.518 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.37, allocations: 1.056 MB / 0.5191 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2318/0.6018, allocations: 27.07 MB / 0.5455 GB, free: 103.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008889/0.6027, allocations: 0.5495 MB / 0.546 GB, free: 102.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.146e-06/0.6027, allocations: 0 / 0.546 GB, free: 102.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002635/0.6053, allocations: 1.916 MB / 0.5479 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.6054, allocations: 65.34 kB / 0.548 GB, free: 102.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/0.6101, allocations: 5.633 MB / 0.5535 GB, free: 96.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.6102, allocations: 39.3 kB / 0.5535 GB, free: 96.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.6117, allocations: 2.962 MB / 0.5564 GB, free: 93.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.6119, allocations: 311.7 kB / 0.5567 GB, free: 93.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.6123, allocations: 427 kB / 0.5571 GB, free: 93.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.6123, allocations: 305.1 kB / 0.5574 GB, free: 92.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.613, allocations: 403.8 kB / 0.5578 GB, free: 92.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.6139, allocations: 1.091 MB / 0.5588 GB, free: 91.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.6155, allocations: 1.61 MB / 0.5604 GB, free: 89.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.6155, allocations: 8 kB / 0.5604 GB, free: 89.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002596/0.6181, allocations: 2.232 MB / 0.5626 GB, free: 86.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6181, allocations: 19.94 kB / 0.5626 GB, free: 86.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/0.6183, allocations: 167.5 kB / 0.5628 GB, free: 86.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.6183, allocations: 32 kB / 0.5628 GB, free: 86.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6194, allocations: 359.4 kB / 0.5631 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.6194, allocations: 45.48 kB / 0.5632 GB, free: 86.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6209, allocations: 197.2 kB / 0.5634 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.621, allocations: 127.9 kB / 0.5635 GB, free: 86.02 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.0008714/0.6219, allocations: 0.7115 MB / 0.5642 GB, free: 85.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.6223, allocations: 0.7608 MB / 0.5649 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.6258, allocations: 2.15 MB / 0.567 GB, free: 82.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6258, allocations: 8 kB / 0.567 GB, free: 82.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6258, allocations: 0 / 0.567 GB, free: 82.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6258, allocations: 3.984 kB / 0.567 GB, free: 82.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.63, allocations: 3.356 MB / 0.5703 GB, free: 79.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001357/0.6302, allocations: 140 kB / 0.5705 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.6309, allocations: 155.8 kB / 0.5706 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6309, allocations: 4 kB / 0.5706 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.6309, allocations: 60 kB / 0.5707 GB, free: 78.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.631, allocations: 10.56 kB / 0.5707 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.631, allocations: 4 kB / 0.5707 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.6335, allocations: 2.19 MB / 0.5728 GB, free: 76.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.6348, allocations: 0.7773 MB / 0.5736 GB, free: 75.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/0.6354, allocations: 16 kB / 0.5736 GB, free: 75.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6365, allocations: 35.95 kB / 0.5736 GB, free: 75.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.6366, allocations: 104.5 kB / 0.5737 GB, free: 75.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/0.6367, allocations: 72 kB / 0.5738 GB, free: 75.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003286/0.64, allocations: 3.604 MB / 0.5773 GB, free: 71.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.64, allocations: 0 / 0.5773 GB, free: 71.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001795/0.6418, allocations: 1.087 MB / 0.5784 GB, free: 70.94 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.001338/0.6432, allocations: 1.185 MB / 0.5795 GB, free: 69.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.645, allocations: 1.362 MB / 0.5809 GB, free: 68.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.645, allocations: 0 / 0.5809 GB, free: 68.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.6459, allocations: 0.7399 MB / 0.5816 GB, free: 67.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.6497, allocations: 1.179 MB / 0.5827 GB, free: 66.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.6571, allocations: 8.264 MB / 0.5908 GB, free: 58.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.6583, allocations: 2.102 MB / 0.5929 GB, free: 56.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001491/0.6598, allocations: 0.6846 MB / 0.5935 GB, free: 55.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.6601, allocations: 283.3 kB / 0.5938 GB, free: 55.06 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6601, allocations: 0 / 0.5938 GB, free: 55.06 MB / 446.1 MB Notification: Performance of Templates: time 0.08378/0.7439, allocations: 65.98 MB / 0.6582 GB, free: 5.934 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/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_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.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: 6.5702552889997605]