Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,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.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,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.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007988/0.0007988, allocations: 102.7 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002181, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2096, allocations: 51.29 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.325, allocations: 105.1 MB / 0.5024 GB, free: 2.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3252, allocations: 79.95 kB / 0.5024 GB, free: 2.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4049/0.7301, allocations: 139.3 MB / 0.6385 GB, free: 3.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7302, allocations: 0 / 0.6385 GB, free: 3.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002303/0.7304, allocations: 44 kB / 0.6385 GB, free: 3.508 MB / 410.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.006338/0.7368, allocations: 3.383 MB / 0.6418 GB, free: 56 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7368, allocations: 11.97 kB / 0.6418 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.7375, allocations: 399.6 kB / 0.6422 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.742, allocations: 2.558 MB / 0.6447 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.7421, allocations: 37 kB / 0.6447 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.7423, allocations: 52 kB / 0.6448 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.7438, allocations: 0.8573 MB / 0.6456 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.7438, allocations: 7.984 kB / 0.6456 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.7439, allocations: 20 kB / 0.6457 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.7439, allocations: 23.92 kB / 0.6457 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.7454, allocations: 0.8592 MB / 0.6465 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/0.7513, allocations: 3.161 MB / 0.6496 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.7525, allocations: 0.622 MB / 0.6502 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.7535, allocations: 0.6595 MB / 0.6509 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/1.003, allocations: 36.31 MB / 0.6863 GB, free: 75.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/1.004, allocations: 388.2 kB / 0.6867 GB, free: 75.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.206e-06/1.004, allocations: 0 / 0.6867 GB, free: 75.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002183/1.006, allocations: 1.161 MB / 0.6878 GB, free: 75.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/1.006, allocations: 278.9 kB / 0.6881 GB, free: 75.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/1.01, allocations: 2.989 MB / 0.691 GB, free: 74.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.01, allocations: 38.8 kB / 0.691 GB, free: 74.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009903/1.011, allocations: 1.496 MB / 0.6925 GB, free: 74.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.011, allocations: 167.3 kB / 0.6927 GB, free: 74.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/1.011, allocations: 16.34 kB / 0.6927 GB, free: 74.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.011, allocations: 340 kB / 0.693 GB, free: 74.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/1.012, allocations: 267.5 kB / 0.6933 GB, free: 74.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/1.012, allocations: 0.6683 MB / 0.6939 GB, free: 73.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.014, allocations: 0.942 MB / 0.6948 GB, free: 73.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.014, allocations: 4 kB / 0.6948 GB, free: 73.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002039/1.016, allocations: 1.262 MB / 0.6961 GB, free: 73.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.016, allocations: 16.66 kB / 0.6961 GB, free: 73.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.976e-05/1.016, allocations: 79.44 kB / 0.6962 GB, free: 73.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.016, allocations: 24.19 kB / 0.6962 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/1.017, allocations: 211.7 kB / 0.6964 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.017, allocations: 22 kB / 0.6964 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.018, allocations: 130.2 kB / 0.6965 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.018, allocations: 64.47 kB / 0.6966 GB, free: 73 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.001082/1.019, allocations: 440.5 kB / 0.697 GB, free: 72.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/1.02, allocations: 381.7 kB / 0.6974 GB, free: 72.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.023, allocations: 1.242 MB / 0.6986 GB, free: 72.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/1.023, allocations: 7.562 kB / 0.6986 GB, free: 72.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.023, allocations: 0 / 0.6986 GB, free: 72.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.023, allocations: 4.594 kB / 0.6986 GB, free: 72.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.026, allocations: 2.231 MB / 0.7008 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.898e-05/1.026, allocations: 72.44 kB / 0.7009 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/1.027, allocations: 108.4 kB / 0.701 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.027, allocations: 5.906 kB / 0.701 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/1.027, allocations: 29.94 kB / 0.701 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.027, allocations: 3.844 kB / 0.701 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.027, allocations: 0 / 0.701 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/1.029, allocations: 1.365 MB / 0.7023 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009827/1.03, allocations: 0.5428 MB / 0.7029 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.03, allocations: 18.62 kB / 0.7029 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/1.031, allocations: 43.53 kB / 0.7029 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.031, allocations: 63.72 kB / 0.703 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/1.031, allocations: 39.08 kB / 0.703 GB, free: 71.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002538/1.034, allocations: 1.946 MB / 0.7049 GB, free: 71.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.8e-07/1.034, allocations: 3.938 kB / 0.7049 GB, free: 71.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001564/1.035, allocations: 0.6441 MB / 0.7055 GB, free: 71.3 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.001176/1.036, allocations: 0.8515 MB / 0.7064 GB, free: 71.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/1.038, allocations: 0.8523 MB / 0.7072 GB, free: 71.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.038, allocations: 0 / 0.7072 GB, free: 71.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/1.039, allocations: 461 kB / 0.7076 GB, free: 70.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.042, allocations: 0.6016 MB / 0.7082 GB, free: 70.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/1.048, allocations: 4.903 MB / 0.713 GB, free: 68.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/1.049, allocations: 1.664 MB / 0.7146 GB, free: 67.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001479/1.05, allocations: 384 kB / 0.715 GB, free: 67.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.05, allocations: 159.5 kB / 0.7152 GB, free: 67.86 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/1.05, allocations: 0 / 0.7152 GB, free: 67.86 MB / 442.7 MB Notification: Performance of Templates: time 0.05404/1.104, allocations: 33.1 MB / 0.7475 GB, free: 61.77 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches