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/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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 196.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008625/0.0008626, allocations: 95.73 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 0 / 343.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 51.48 MB / 394.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.3853, allocations: 104.4 MB / 499.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.3855, allocations: 76.39 kB / 499.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6193/1.005, allocations: 214.9 MB / 0.6973 GB, free: 42.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006232/1.005, allocations: 88 kB / 0.6974 GB, free: 42.19 MB / 442.7 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.01041/1.016, allocations: 4.728 MB / 0.702 GB, free: 37.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.016, allocations: 16.03 kB / 0.702 GB, free: 37.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/1.017, allocations: 0.7449 MB / 0.7028 GB, free: 36.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008636/1.026, allocations: 4.491 MB / 0.7071 GB, free: 32.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/1.026, allocations: 36 kB / 0.7072 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/1.027, allocations: 66.25 kB / 0.7072 GB, free: 32.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/1.029, allocations: 1.312 MB / 0.7085 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.031, allocations: 1.316 MB / 0.7098 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.031, allocations: 0 / 0.7098 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/1.031, allocations: 4 kB / 0.7098 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/1.031, allocations: 43.88 kB / 0.7099 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/1.042, allocations: 5.688 MB / 0.7154 GB, free: 23.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/1.043, allocations: 0.6529 MB / 0.716 GB, free: 23.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.044, allocations: 1.035 MB / 0.7171 GB, free: 22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2191/1.263, allocations: 72.74 MB / 0.7881 GB, free: 61.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/1.264, allocations: 484.2 kB / 0.7886 GB, free: 61.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 3.206e-06/1.264, allocations: 0 / 0.7886 GB, free: 61.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.002283/1.266, allocations: 1.415 MB / 0.7899 GB, free: 61.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.267, allocations: 479.3 kB / 0.7904 GB, free: 60.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/1.273, allocations: 4.379 MB / 0.7947 GB, free: 60.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/1.273, allocations: 32.95 kB / 0.7947 GB, free: 60.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/1.274, allocations: 1.179 MB / 0.7958 GB, free: 59.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.274, allocations: 288.3 kB / 0.7961 GB, free: 59.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/1.274, allocations: 0 / 0.7961 GB, free: 59.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/1.274, allocations: 364.1 kB / 0.7965 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/1.274, allocations: 311.6 kB / 0.7968 GB, free: 59.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/1.275, allocations: 1.081 MB / 0.7978 GB, free: 58.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/1.276, allocations: 498.8 kB / 0.7983 GB, free: 58.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.276, allocations: 7.156 kB / 0.7983 GB, free: 58.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002789/1.279, allocations: 1.918 MB / 0.8002 GB, free: 58.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.279, allocations: 4.438 kB / 0.8002 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/1.279, allocations: 168.1 kB / 0.8003 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/1.279, allocations: 35.84 kB / 0.8004 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.28, allocations: 378.4 kB / 0.8007 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/1.28, allocations: 45.55 kB / 0.8008 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/1.283, allocations: 178.9 kB / 0.801 GB, free: 58.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.283, allocations: 132.8 kB / 0.8011 GB, free: 58.03 MB / 442.7 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000275/1.283, allocations: 169.7 kB / 0.8012 GB, free: 57.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/1.284, allocations: 0.7221 MB / 0.8019 GB, free: 57.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/1.292, allocations: 2.599 MB / 0.8045 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.292, allocations: 14.11 kB / 0.8045 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.292, allocations: 0 / 0.8045 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.292, allocations: 3 kB / 0.8045 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/1.298, allocations: 3.535 MB / 0.808 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001882/1.298, allocations: 138.4 kB / 0.8081 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/1.299, allocations: 167.9 kB / 0.8082 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.299, allocations: 6.094 kB / 0.8083 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/1.299, allocations: 52.36 kB / 0.8083 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/1.299, allocations: 10.34 kB / 0.8083 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.299, allocations: 2.062 kB / 0.8083 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00243/1.301, allocations: 2.047 MB / 0.8103 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.303, allocations: 0.9308 MB / 0.8112 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008324/1.304, allocations: 12.77 kB / 0.8112 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.305, allocations: 49.64 kB / 0.8113 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.306, allocations: 93.09 kB / 0.8114 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.306, allocations: 71.16 kB / 0.8114 GB, free: 55.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004593/1.31, allocations: 3.231 MB / 0.8146 GB, free: 55.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002823/1.313, allocations: 1.116 MB / 0.8157 GB, free: 55.55 MB / 442.7 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) * 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 (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.001617/1.315, allocations: 1.296 MB / 0.8169 GB, free: 55.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/1.316, allocations: 1.261 MB / 0.8182 GB, free: 55.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.316, allocations: 0 / 0.8182 GB, free: 55.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007097/1.317, allocations: 0.7073 MB / 0.8189 GB, free: 54.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.322, allocations: 1.113 MB / 0.82 GB, free: 54.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.334, allocations: 6.002 MB / 0.8258 GB, free: 53.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/1.337, allocations: 3.021 MB / 0.8288 GB, free: 52.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/1.337, allocations: 0 / 0.8288 GB, free: 52.34 MB / 442.7 MB Notification: Performance of Templates: time 0.08877/1.426, allocations: 52.44 MB / 0.88 GB, free: 31.62 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches