Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008981/0.0008984, allocations: 96.92 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 7.984 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.3123, allocations: 105.1 MB / 0.5025 GB, free: 1.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.3125, allocations: 79.95 kB / 0.5025 GB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4258/0.7384, allocations: 143.7 MB / 0.6428 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7384, allocations: 0 / 0.6428 GB, free: 13.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002301/0.7387, allocations: 48 kB / 0.6429 GB, free: 13.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.007124/0.7458, allocations: 3.544 MB / 0.6463 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7458, allocations: 11.97 kB / 0.6464 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.7466, allocations: 414.9 kB / 0.6468 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/0.7515, allocations: 2.448 MB / 0.6491 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.7515, allocations: 33 kB / 0.6492 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.7517, allocations: 59.91 kB / 0.6492 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.7533, allocations: 0.8534 MB / 0.6501 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7533, allocations: 4 kB / 0.6501 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.7534, allocations: 23.98 kB / 0.6501 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.7534, allocations: 19.98 kB / 0.6501 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.755, allocations: 0.8554 MB / 0.6509 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.761, allocations: 3.271 MB / 0.6541 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.7621, allocations: 0.6258 MB / 0.6548 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2279/0.99, allocations: 36.57 MB / 0.6905 GB, free: 68.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.9907, allocations: 391.5 kB / 0.6908 GB, free: 68.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.9907, allocations: 0 / 0.6908 GB, free: 68.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002798/0.9935, allocations: 1.483 MB / 0.6923 GB, free: 67.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.9936, allocations: 275 kB / 0.6926 GB, free: 67.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.9978, allocations: 2.687 MB / 0.6952 GB, free: 67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.9979, allocations: 35.89 kB / 0.6952 GB, free: 66.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009769/0.9989, allocations: 1.586 MB / 0.6968 GB, free: 66.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.999, allocations: 160.7 kB / 0.6969 GB, free: 66.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.999, allocations: 17.12 kB / 0.6969 GB, free: 66.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.9991, allocations: 344.2 kB / 0.6973 GB, free: 66.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.9996, allocations: 264.6 kB / 0.6975 GB, free: 66.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/1, allocations: 0.6659 MB / 0.6982 GB, free: 65.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/1.001, allocations: 354.2 kB / 0.6985 GB, free: 65.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.001, allocations: 6.531 kB / 0.6985 GB, free: 65.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001705/1.002, allocations: 1.277 MB / 0.6998 GB, free: 65.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.002, allocations: 14.09 kB / 0.6998 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.041e-05/1.003, allocations: 76.56 kB / 0.6998 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/1.003, allocations: 21.95 kB / 0.6999 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.003, allocations: 209.1 kB / 0.7001 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.003, allocations: 29.95 kB / 0.7001 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.004, allocations: 133.9 kB / 0.7002 GB, free: 65.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/1.004, allocations: 61.97 kB / 0.7003 GB, free: 65.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006439/1.005, allocations: 458.9 kB / 0.7007 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/1.005, allocations: 397.7 kB / 0.7011 GB, free: 65.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/1.008, allocations: 1.292 MB / 0.7024 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.008, allocations: 6.656 kB / 0.7024 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.008, allocations: 0 / 0.7024 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.008, allocations: 0 / 0.7024 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/1.011, allocations: 2.338 MB / 0.7046 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.715e-05/1.011, allocations: 67.06 kB / 0.7047 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/1.012, allocations: 109.5 kB / 0.7048 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.012, allocations: 0 / 0.7048 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/1.012, allocations: 33.81 kB / 0.7048 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.012, allocations: 0 / 0.7048 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.012, allocations: 2.969 kB / 0.7048 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/1.013, allocations: 1.438 MB / 0.7063 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007316/1.014, allocations: 0.5162 MB / 0.7068 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.014, allocations: 11.67 kB / 0.7068 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/1.015, allocations: 46.67 kB / 0.7068 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.015, allocations: 61.03 kB / 0.7069 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/1.015, allocations: 39.5 kB / 0.7069 GB, free: 64.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00191/1.017, allocations: 2.058 MB / 0.7089 GB, free: 63.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 3.625 kB / 0.7089 GB, free: 63.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001237/1.018, allocations: 0.6634 MB / 0.7096 GB, free: 63.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000998/1.019, allocations: 0.8729 MB / 0.7104 GB, free: 63.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/1.021, allocations: 0.8579 MB / 0.7113 GB, free: 63.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.021, allocations: 0 / 0.7113 GB, free: 63.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005947/1.021, allocations: 466.7 kB / 0.7117 GB, free: 63.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.023, allocations: 0.6208 MB / 0.7123 GB, free: 63.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/1.028, allocations: 5.122 MB / 0.7173 GB, free: 61.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/1.029, allocations: 1.772 MB / 0.719 GB, free: 60.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001169/1.03, allocations: 382.4 kB / 0.7194 GB, free: 60.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/1.031, allocations: 163.7 kB / 0.7196 GB, free: 60.31 MB / 442.7 MB Notification: Performance of SimCode: time 2.254e-06/1.031, allocations: 2.156 kB / 0.7196 GB, free: 60.31 MB / 442.7 MB Notification: Performance of Templates: time 0.04387/1.074, allocations: 32.83 MB / 0.7516 GB, free: 55.23 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches