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.0008078/0.0008079, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0008959/0.0008961, allocations: 177 kB / 17.56 MB, free: 6.18 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.285/1.285, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 11.94 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09406, allocations: 50.41 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004487/0.09857, allocations: 4.679 MB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.11, allocations: 10.84 MB / 367.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.1107, allocations: 7.938 kB / 367.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1124, allocations: 0.6446 MB / 368 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.1152, allocations: 0.8168 MB / 368.8 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1164, allocations: 431.8 kB / 369.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.1184, allocations: 1.322 MB / 370.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1187, allocations: 161.8 kB / 370.7 MB, free: 492 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.119, allocations: 266.5 kB / 371 MB, free: 224 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1647/0.2838, allocations: 297.8 kB / 371.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.284, allocations: 17.41 kB / 371.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.2861, allocations: 0.7288 MB / 372 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.2862, allocations: 93.47 kB / 372.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2866, allocations: 412.9 kB / 372.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.2883, allocations: 1.219 MB / 373.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2884, allocations: 1.188 kB / 373.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2884, allocations: 2.062 kB / 373.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2884, allocations: 0 / 373.7 MB, free: 10.83 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.001753/0.2902, allocations: 1.193 MB / 374.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2902, allocations: 9.125 kB / 374.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2904, allocations: 113 kB / 375.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.2913, allocations: 0.7542 MB / 375.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.2914, allocations: 21.25 kB / 375.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.2914, allocations: 28.72 kB / 375.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.2921, allocations: 331.2 kB / 376.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2921, allocations: 0 / 376.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2922, allocations: 15.88 kB / 376.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2922, allocations: 6.875 kB / 376.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.2928, allocations: 299.7 kB / 376.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2948, allocations: 1.371 MB / 377.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.2955, allocations: 316.2 kB / 378.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.296, allocations: 259.4 kB / 378.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003759/0.2997, allocations: 3.596 MB / 382 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.3002, allocations: 203.9 kB / 382.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.375e-06/0.3002, allocations: 0 / 382.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001668/0.3019, allocations: 0.7605 MB / 383 MB, free: 5.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3019, allocations: 55.45 kB / 383 MB, free: 5.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/0.3029, allocations: 0.821 MB / 383.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.303, allocations: 35.12 kB / 383.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.3033, allocations: 445.4 kB / 384.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.3034, allocations: 102.1 kB / 384.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3034, allocations: 35.84 kB / 384.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.3035, allocations: 325.9 kB / 384.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.3038, allocations: 127.8 kB / 384.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.3041, allocations: 241.9 kB / 385.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.3048, allocations: 378.8 kB / 385.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3048, allocations: 1.062 kB / 385.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009408/0.3057, allocations: 0.5411 MB / 386.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3058, allocations: 12.8 kB / 386.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.784e-05/0.3058, allocations: 31.28 kB / 386.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.306, allocations: 53.34 kB / 386.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3064, allocations: 80.81 kB / 386.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3077, allocations: 2.645 MB / 388.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.3081, allocations: 55.78 kB / 388.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3082, allocations: 15.81 kB / 388.9 MB, free: 1.832 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.0002327/0.3084, allocations: 213.1 kB / 389.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.44e-05/0.3085, allocations: 102.6 kB / 389.3 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3096, allocations: 0.5069 MB / 389.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3096, allocations: 3.844 kB / 389.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3096, allocations: 2 kB / 389.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3097, allocations: 3.234 kB / 389.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.3102, allocations: 0.5563 MB / 390.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.3103, allocations: 28.67 kB / 390.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3106, allocations: 48.16 kB / 390.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.3107, allocations: 54.31 kB / 390.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3107, allocations: 6.719 kB / 390.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.3123, allocations: 2.644 MB / 393.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3123, allocations: 0 / 393.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3136, allocations: 0.6381 MB / 393.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.3139, allocations: 181.9 kB / 393.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.314, allocations: 10.02 kB / 393.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3142, allocations: 19.03 kB / 393.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.3143, allocations: 29.66 kB / 394 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3144, allocations: 9.062 kB / 394 MB, free: 13.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.3151, allocations: 0.548 MB / 394.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3151, allocations: 4 kB / 394.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007648/0.3158, allocations: 246.1 kB / 394.8 MB, free: 13.6 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.0006863/0.3165, allocations: 359.6 kB / 395.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3176, allocations: 0.6016 MB / 395.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3177, allocations: 0 / 395.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.3183, allocations: 457.4 kB / 396.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.3189, allocations: 102.2 kB / 396.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.3214, allocations: 1.842 MB / 398.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3219, allocations: 0.9587 MB / 399.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.3222, allocations: 83.25 kB / 399.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.3223, allocations: 42.09 kB / 399.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3223, allocations: 1.562 kB / 399.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Templates: time 0.01522/0.3375, allocations: 7.963 MB / 407.2 MB, free: 6.438 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/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