Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009821/0.0009818, allocations: 98.47 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.507e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09705, allocations: 51.47 MB / 395.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4582, allocations: 92.62 MB / 487.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4585, allocations: 77.7 kB / 487.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1395/0.598, allocations: 43.85 MB / 0.5192 GB, free: 9.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.598, allocations: 0 / 0.5192 GB, free: 9.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.5981, allocations: 16 kB / 0.5193 GB, free: 9.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002577/0.6007, allocations: 1.11 MB / 0.5203 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6008, allocations: 8.031 kB / 0.5203 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.601, allocations: 110.7 kB / 0.5205 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.6025, allocations: 0.7235 MB / 0.5212 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.6026, allocations: 8 kB / 0.5212 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.6027, allocations: 16 kB / 0.5212 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005959/0.6033, allocations: 209.2 kB / 0.5214 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.6039, allocations: 260.6 kB / 0.5216 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.604, allocations: 0 / 0.5216 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.604, allocations: 0 / 0.5216 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6041, allocations: 8 kB / 0.5216 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.6069, allocations: 1.336 MB / 0.5229 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.6075, allocations: 230.9 kB / 0.5232 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.6079, allocations: 208.8 kB / 0.5234 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007414/0.6154, allocations: 4.249 MB / 0.5275 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.6158, allocations: 160.3 kB / 0.5277 GB, free: 464 kB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/0.6158, allocations: 0 / 0.5277 GB, free: 464 kB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001255/0.6171, allocations: 428.1 kB / 0.5281 GB, free: 28 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.6172, allocations: 59.59 kB / 0.5281 GB, free: 15.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6184, allocations: 0.6492 MB / 0.5288 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.6185, allocations: 25.7 kB / 0.5288 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.619, allocations: 448.6 kB / 0.5292 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6192, allocations: 94.64 kB / 0.5293 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.6192, allocations: 0 / 0.5293 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6193, allocations: 325.9 kB / 0.5296 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.6196, allocations: 80.77 kB / 0.5297 GB, free: 14.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.6199, allocations: 191.8 kB / 0.5299 GB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.6205, allocations: 175.8 kB / 0.53 GB, free: 13.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6205, allocations: 0 / 0.53 GB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001312/0.6218, allocations: 0.4935 MB / 0.5305 GB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6219, allocations: 11.94 kB / 0.5305 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-05/0.622, allocations: 36.42 kB / 0.5306 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.6223, allocations: 53.69 kB / 0.5306 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.6228, allocations: 81.67 kB / 0.5307 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.6254, allocations: 2.555 MB / 0.5332 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.6261, allocations: 43.66 kB / 0.5332 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.6261, allocations: 20 kB / 0.5333 GB, free: 10.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.6263, allocations: 117 kB / 0.5334 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6265, allocations: 106.7 kB / 0.5335 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.6283, allocations: 497.8 kB / 0.5339 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6283, allocations: 0 / 0.5339 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6283, allocations: 4 kB / 0.5339 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6283, allocations: 0 / 0.5339 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.6293, allocations: 0.5231 MB / 0.5345 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.786e-05/0.6293, allocations: 28 kB / 0.5345 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.6298, allocations: 51.95 kB / 0.5345 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.63, allocations: 49.62 kB / 0.5346 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.63, allocations: 8 kB / 0.5346 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.6325, allocations: 2.548 MB / 0.5371 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6326, allocations: 0 / 0.5371 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6341, allocations: 0.5683 MB / 0.5376 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.6344, allocations: 195.7 kB / 0.5378 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6346, allocations: 1.906 kB / 0.5378 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.635, allocations: 23.98 kB / 0.5378 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6351, allocations: 27.95 kB / 0.5379 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.6352, allocations: 12 kB / 0.5379 GB, free: 5.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009894/0.6362, allocations: 0.4918 MB / 0.5384 GB, free: 4.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6362, allocations: 0 / 0.5384 GB, free: 4.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001238/0.6374, allocations: 271.5 kB / 0.5386 GB, free: 4.539 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.6386, allocations: 0.5026 MB / 0.5391 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.6397, allocations: 0.498 MB / 0.5396 GB, free: 3.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6397, allocations: 0 / 0.5396 GB, free: 3.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.6404, allocations: 401.1 kB / 0.54 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.6412, allocations: 108.8 kB / 0.5401 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.6445, allocations: 1.104 MB / 0.5412 GB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.6453, allocations: 0.9758 MB / 0.5421 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005386/0.6458, allocations: 89.66 kB / 0.5422 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.646, allocations: 47.44 kB / 0.5422 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.646, allocations: 0 / 0.5422 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of Templates: time 0.02344/0.6694, allocations: 7.368 MB / 0.5494 GB, free: 9.441 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches