Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008902/0.00089, allocations: 178.6 kB / 17.36 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007412/0.0007412, allocations: 87.39 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002302/0.0002304, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2138, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003491/0.2173, allocations: 4.472 MB / 381.1 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.2255, allocations: 9.595 MB / 390.7 MB, free: 33.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.2263, allocations: 18.47 kB / 390.7 MB, free: 33.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008848/0.2272, allocations: 341.4 kB / 391 MB, free: 33.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.2296, allocations: 0.6747 MB / 391.7 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2309, allocations: 465.7 kB / 392.1 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.2327, allocations: 1.583 MB / 393.7 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.233, allocations: 155.6 kB / 393.9 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2332, allocations: 258.6 kB / 394.1 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.2335, allocations: 309.9 kB / 394.4 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.2336, allocations: 16 kB / 394.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2346, allocations: 0.5152 MB / 395 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.2347, allocations: 91.31 kB / 395.1 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.235, allocations: 415.2 kB / 395.5 MB, free: 29.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.2359, allocations: 1.156 MB / 396.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2359, allocations: 0 / 396.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.236, allocations: 0 / 396.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.236, allocations: 4 kB / 396.6 MB, free: 28.05 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001337/0.2373, allocations: 1.147 MB / 397.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2374, allocations: 8.031 kB / 397.8 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.2375, allocations: 111.6 kB / 397.9 MB, free: 26.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.2383, allocations: 0.8515 MB / 398.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2383, allocations: 24.56 kB / 398.8 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2384, allocations: 24 kB / 398.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.2388, allocations: 307.7 kB / 399.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2388, allocations: 0 / 399.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2389, allocations: 4 kB / 399.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2389, allocations: 15.98 kB / 399.1 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.2392, allocations: 242.1 kB / 399.3 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2405, allocations: 1.19 MB / 400.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.2408, allocations: 202.6 kB / 400.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.2411, allocations: 227.1 kB / 401 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005505/0.2466, allocations: 8.573 MB / 409.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2466, allocations: 42.48 kB / 409.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.2466, allocations: 0 / 409.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001325/0.248, allocations: 0.6676 MB / 410.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.248, allocations: 81.11 kB / 410.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.2487, allocations: 0.7909 MB / 411.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2487, allocations: 29.7 kB / 411.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2489, allocations: 440.6 kB / 411.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.249, allocations: 86.84 kB / 411.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.249, allocations: 7.938 kB / 411.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.249, allocations: 313.9 kB / 412 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2492, allocations: 68.2 kB / 412 MB, free: 10.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2493, allocations: 154.9 kB / 412.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.2496, allocations: 231.1 kB / 412.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2496, allocations: 4 kB / 412.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004552/0.25, allocations: 410 kB / 412.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2501, allocations: 4 kB / 412.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.2501, allocations: 16 kB / 412.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.2504, allocations: 147.8 kB / 413 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2506, allocations: 27.98 kB / 413 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004404/0.251, allocations: 0.7122 MB / 413.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.2513, allocations: 31.84 kB / 413.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.2513, allocations: 12 kB / 413.8 MB, free: 9.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.2515, allocations: 201.7 kB / 414 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.2516, allocations: 102.8 kB / 414.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.2522, allocations: 421.7 kB / 414.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2522, allocations: 4 kB / 414.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2522, allocations: 0 / 414.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2523, allocations: 0 / 414.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.2527, allocations: 0.5073 MB / 415 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.2527, allocations: 12 kB / 415 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2528, allocations: 19.92 kB / 415 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.253, allocations: 140.7 kB / 415.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2531, allocations: 15.94 kB / 415.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/0.2534, allocations: 0.7044 MB / 415.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2535, allocations: 0 / 415.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.2539, allocations: 453.2 kB / 416.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.254, allocations: 175.8 kB / 416.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.2541, allocations: 4 kB / 416.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.2543, allocations: 12.06 kB / 416.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.2543, allocations: 15.92 kB / 416.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2544, allocations: 12 kB / 416.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.2548, allocations: 0.5305 MB / 417.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2548, allocations: 4 kB / 417.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000427/0.2552, allocations: 187.8 kB / 417.2 MB, free: 5.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003835/0.2556, allocations: 311.4 kB / 417.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2561, allocations: 282.1 kB / 417.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2561, allocations: 4 kB / 417.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2563, allocations: 181.6 kB / 418 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.2569, allocations: 132.3 kB / 418.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2582, allocations: 1.485 MB / 419.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2585, allocations: 0.9489 MB / 420.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.2588, allocations: 110.7 kB / 420.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.2589, allocations: 47.44 kB / 420.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2589, allocations: 0 / 420.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01495/0.2739, allocations: 8.702 MB / 429.4 MB, free: 9.227 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches