Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 241.4 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007969/0.000797, allocations: 93.8 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 12 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2645, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3856, allocations: 104.3 MB / 0.4952 GB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.3858, allocations: 79.95 kB / 0.4953 GB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4173/0.8032, allocations: 139 MB / 0.6311 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8032, allocations: 0 / 0.6311 GB, free: 12.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002352/0.8034, allocations: 44 kB / 0.6311 GB, free: 12.44 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.00709/0.8106, allocations: 3.376 MB / 0.6344 GB, free: 8.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8106, allocations: 12.03 kB / 0.6344 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/0.8114, allocations: 403.5 kB / 0.6348 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004591/0.816, allocations: 2.554 MB / 0.6373 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.8161, allocations: 36.98 kB / 0.6373 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.8164, allocations: 52 kB / 0.6374 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.8181, allocations: 0.8612 MB / 0.6382 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.8181, allocations: 0 / 0.6382 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.8182, allocations: 24 kB / 0.6382 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.8182, allocations: 23.92 kB / 0.6383 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.82, allocations: 0.8515 MB / 0.6391 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007675/0.8276, allocations: 3.159 MB / 0.6422 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.829, allocations: 0.6297 MB / 0.6428 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.8301, allocations: 0.6766 MB / 0.6435 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2447/1.075, allocations: 35.65 MB / 0.6783 GB, free: 88.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/1.076, allocations: 391.4 kB / 0.6786 GB, free: 88.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/1.076, allocations: 3.594 kB / 0.6786 GB, free: 88.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002083/1.078, allocations: 1.16 MB / 0.6798 GB, free: 87.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/1.078, allocations: 270.7 kB / 0.68 GB, free: 87.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/1.081, allocations: 2.99 MB / 0.683 GB, free: 87.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/1.081, allocations: 39.08 kB / 0.683 GB, free: 87.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009603/1.082, allocations: 1.493 MB / 0.6845 GB, free: 87.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.082, allocations: 171 kB / 0.6846 GB, free: 87.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/1.082, allocations: 16.94 kB / 0.6846 GB, free: 87.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/1.082, allocations: 342.9 kB / 0.685 GB, free: 86.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/1.083, allocations: 261 kB / 0.6852 GB, free: 86.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/1.083, allocations: 0.6683 MB / 0.6859 GB, free: 86.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.084, allocations: 0.9416 MB / 0.6868 GB, free: 85.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.084, allocations: 3.969 kB / 0.6868 GB, free: 85.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001977/1.086, allocations: 1.266 MB / 0.688 GB, free: 85.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.086, allocations: 11.09 kB / 0.688 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.426e-05/1.087, allocations: 80.97 kB / 0.6881 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.087, allocations: 19.47 kB / 0.6881 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/1.087, allocations: 221.2 kB / 0.6883 GB, free: 85.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/1.087, allocations: 22 kB / 0.6884 GB, free: 85.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.088, allocations: 121.9 kB / 0.6885 GB, free: 85.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.089, allocations: 65.75 kB / 0.6885 GB, free: 85.53 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.001126/1.09, allocations: 442.5 kB / 0.689 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/1.09, allocations: 384.8 kB / 0.6893 GB, free: 85.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/1.093, allocations: 1.245 MB / 0.6905 GB, free: 85.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.093, allocations: 7.344 kB / 0.6905 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.093, allocations: 3.625 kB / 0.6906 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/1.093, allocations: 3.938 kB / 0.6906 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.096, allocations: 2.228 MB / 0.6927 GB, free: 84.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.108e-05/1.097, allocations: 75.41 kB / 0.6928 GB, free: 84.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/1.097, allocations: 109.6 kB / 0.6929 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.097, allocations: 7.25 kB / 0.6929 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/1.097, allocations: 29.47 kB / 0.6929 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.097, allocations: 3.781 kB / 0.6929 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.097, allocations: 0 / 0.6929 GB, free: 84.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/1.099, allocations: 1.362 MB / 0.6943 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/1.1, allocations: 0.5454 MB / 0.6948 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.1, allocations: 12.34 kB / 0.6948 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/1.101, allocations: 45.17 kB / 0.6949 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.101, allocations: 63.27 kB / 0.6949 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/1.101, allocations: 41.67 kB / 0.695 GB, free: 84.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00261/1.104, allocations: 1.94 MB / 0.6969 GB, free: 83.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.104, allocations: 3.656 kB / 0.6969 GB, free: 83.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001843/1.106, allocations: 0.6424 MB / 0.6975 GB, free: 83.82 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.0012/1.107, allocations: 0.8553 MB / 0.6983 GB, free: 83.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/1.109, allocations: 0.8475 MB / 0.6992 GB, free: 83.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.109, allocations: 0 / 0.6992 GB, free: 83.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006354/1.109, allocations: 464.3 kB / 0.6996 GB, free: 83.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.112, allocations: 0.5979 MB / 0.7002 GB, free: 83.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/1.118, allocations: 4.904 MB / 0.705 GB, free: 81.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/1.119, allocations: 1.659 MB / 0.7066 GB, free: 80.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001424/1.121, allocations: 384.8 kB / 0.707 GB, free: 80.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/1.121, allocations: 160 kB / 0.7071 GB, free: 80.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/1.121, allocations: 0 / 0.7071 GB, free: 80.37 MB / 442.7 MB Notification: Performance of Templates: time 0.05359/1.174, allocations: 33.07 MB / 0.7394 GB, free: 76.23 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches