Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 114.5 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009776/0.0009776, allocations: 47.77 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08463/0.08563, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005734/0.09141, allocations: 5.068 MB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.1024, allocations: 10.77 MB / 367.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.103, allocations: 31.75 kB / 367.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.1046, allocations: 0.6904 MB / 368.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.107, allocations: 1.01 MB / 369.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1083, allocations: 0.5998 MB / 369.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.1101, allocations: 1.365 MB / 371 MB, free: 60 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1454/0.2555, allocations: 180 kB / 371.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.2561, allocations: 284.3 kB / 371.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.2564, allocations: 322.2 kB / 371.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.2565, allocations: 32.84 kB / 371.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.2582, allocations: 0.7432 MB / 372.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.2583, allocations: 105.6 kB / 372.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.2586, allocations: 403.3 kB / 373.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.2601, allocations: 1.268 MB / 374.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2601, allocations: 0 / 374.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2601, allocations: 2.875 kB / 374.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2601, allocations: 0 / 374.4 MB, free: 11.36 MB / 302.1 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.001712/0.2618, allocations: 1.323 MB / 375.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2619, allocations: 14 kB / 375.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.262, allocations: 117.3 kB / 375.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.263, allocations: 0.7439 MB / 376.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.263, allocations: 18.38 kB / 376.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2631, allocations: 32.62 kB / 376.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.2636, allocations: 315.4 kB / 376.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2636, allocations: 2.188 kB / 376.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2637, allocations: 8.938 kB / 376.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2637, allocations: 8.844 kB / 376.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.2643, allocations: 275.2 kB / 377.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.266, allocations: 1.368 MB / 378.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.2667, allocations: 290.9 kB / 378.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.2671, allocations: 242.1 kB / 379.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003713/0.2708, allocations: 3.599 MB / 382.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.2713, allocations: 198.4 kB / 382.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.394e-06/0.2713, allocations: 1.078 kB / 382.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001434/0.2727, allocations: 0.7233 MB / 383.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2728, allocations: 58.36 kB / 383.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008957/0.2737, allocations: 0.8098 MB / 384.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.2737, allocations: 31.2 kB / 384.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.274, allocations: 455.5 kB / 384.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.274, allocations: 103.4 kB / 385 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2742, allocations: 69.3 kB / 385.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.2742, allocations: 326.6 kB / 385.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.2745, allocations: 120.5 kB / 385.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.2748, allocations: 226 kB / 385.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.2754, allocations: 365.3 kB / 386.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2754, allocations: 1.344 kB / 386.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008522/0.2762, allocations: 0.5123 MB / 386.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2762, allocations: 6.625 kB / 386.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/0.2763, allocations: 36.5 kB / 386.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.2765, allocations: 58.11 kB / 386.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2768, allocations: 73.45 kB / 386.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2783, allocations: 2.853 MB / 389.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.2787, allocations: 44.48 kB / 389.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.2787, allocations: 15.94 kB / 389.7 MB, free: 1.434 MB / 302.1 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 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.279, allocations: 195.6 kB / 389.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2791, allocations: 111.9 kB / 390 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.28, allocations: 0.4937 MB / 390.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.28, allocations: 2.406 kB / 390.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.28, allocations: 1.531 kB / 390.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.28, allocations: 2.906 kB / 390.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.2807, allocations: 0.5466 MB / 391.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/0.2807, allocations: 32.39 kB / 391.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.281, allocations: 41.66 kB / 391.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.2811, allocations: 53.86 kB / 391.2 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.2811, allocations: 13.55 kB / 391.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.283, allocations: 2.842 MB / 394.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.283, allocations: 0.9375 kB / 394.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.2843, allocations: 0.6133 MB / 394.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2846, allocations: 177 kB / 394.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.2847, allocations: 10.16 kB / 394.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.285, allocations: 17.33 kB / 394.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2851, allocations: 30.56 kB / 394.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.2851, allocations: 9.281 kB / 394.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007989/0.2859, allocations: 0.5481 MB / 395.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.2859, allocations: 4.062 kB / 395.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009347/0.2869, allocations: 241.8 kB / 395.7 MB, free: 13.01 MB / 318.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000717/0.2876, allocations: 356 kB / 396 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2886, allocations: 0.581 MB / 396.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2886, allocations: 2.719 kB / 396.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.2892, allocations: 436.7 kB / 397.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.2897, allocations: 123.1 kB / 397.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.2922, allocations: 1.516 MB / 398.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.2927, allocations: 0.952 MB / 399.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.2929, allocations: 82.62 kB / 399.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.293, allocations: 42.97 kB / 399.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.293, allocations: 5.281 kB / 399.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01728/0.3103, allocations: 8.34 MB / 408.1 MB, free: 5.641 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches