Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009697, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.000882, allocations: 111.5 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007641/0.0007642, allocations: 43.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1827, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00437/0.1871, allocations: 5.154 MB / 379 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007197/0.1943, allocations: 8.816 MB / 387.8 MB, free: 34.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.195, allocations: 19.22 kB / 387.8 MB, free: 34.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.1959, allocations: 337.4 kB / 388.1 MB, free: 34.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1979, allocations: 0.6816 MB / 388.8 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.199, allocations: 460.2 kB / 389.3 MB, free: 33.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.2008, allocations: 1.626 MB / 390.9 MB, free: 32.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.201, allocations: 151.6 kB / 391 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2012, allocations: 270.6 kB / 391.3 MB, free: 31.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2015, allocations: 317.9 kB / 391.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.2015, allocations: 20 kB / 391.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008931/0.2024, allocations: 0.5425 MB / 392.2 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2025, allocations: 99.31 kB / 392.3 MB, free: 31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.2027, allocations: 393.5 kB / 392.7 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.2036, allocations: 1.172 MB / 393.8 MB, free: 29.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2036, allocations: 0 / 393.8 MB, free: 29.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2036, allocations: 0 / 393.8 MB, free: 29.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.2036, allocations: 0 / 393.8 MB, free: 29.43 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.001367/0.205, allocations: 1.275 MB / 395.1 MB, free: 28.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.205, allocations: 12.03 kB / 395.1 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.23e-05/0.2051, allocations: 115.6 kB / 395.2 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/0.206, allocations: 0.8515 MB / 396.1 MB, free: 27.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.206, allocations: 16.56 kB / 396.1 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.206, allocations: 24 kB / 396.1 MB, free: 27.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.2064, allocations: 307.7 kB / 396.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2064, allocations: 0 / 396.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.2064, allocations: 15.94 kB / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2065, allocations: 8 kB / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.2068, allocations: 238.1 kB / 396.7 MB, free: 26.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.208, allocations: 1.19 MB / 397.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.2083, allocations: 198.5 kB / 398.1 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2085, allocations: 221.3 kB / 398.3 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005361/0.2139, allocations: 8.561 MB / 406.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2139, allocations: 38.5 kB / 406.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.2139, allocations: 0 / 406.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001238/0.2152, allocations: 0.6523 MB / 407.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2152, allocations: 85.09 kB / 407.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.2158, allocations: 0.8025 MB / 408.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2158, allocations: 33.7 kB / 408.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.216, allocations: 428.8 kB / 408.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.2161, allocations: 90.77 kB / 409 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.2161, allocations: 57.84 kB / 409 MB, free: 12.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.2162, allocations: 321.8 kB / 409.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2163, allocations: 76.14 kB / 409.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2164, allocations: 146.4 kB / 409.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.2167, allocations: 225.7 kB / 409.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2167, allocations: 0 / 409.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004256/0.2171, allocations: 412.8 kB / 410.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2171, allocations: 15.92 kB / 410.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.2172, allocations: 12 kB / 410.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.2174, allocations: 139.1 kB / 410.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2176, allocations: 43.97 kB / 410.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/0.218, allocations: 0.7122 MB / 411.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.2182, allocations: 23.75 kB / 411.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.2183, allocations: 16.06 kB / 411.1 MB, free: 10.34 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.0001526/0.2184, allocations: 198 kB / 411.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.2185, allocations: 98.88 kB / 411.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.2191, allocations: 411.2 kB / 411.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2191, allocations: 4 kB / 411.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2192, allocations: 0 / 411.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2192, allocations: 0 / 411.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.2196, allocations: 0.5073 MB / 412.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.2196, allocations: 15.98 kB / 412.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2197, allocations: 23.86 kB / 412.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.2199, allocations: 141.5 kB / 412.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2199, allocations: 4 kB / 412.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000358/0.2203, allocations: 0.7021 MB / 413.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2203, allocations: 0 / 413.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.221, allocations: 1.267 MB / 414.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2211, allocations: 179.7 kB / 414.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.2212, allocations: 0 / 414.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2214, allocations: 11.98 kB / 414.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2215, allocations: 15.98 kB / 414.7 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2215, allocations: 15.94 kB / 414.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004028/0.2219, allocations: 0.5383 MB / 415.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2219, allocations: 4 kB / 415.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.2224, allocations: 195.8 kB / 415.4 MB, free: 5.848 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.0003469/0.2228, allocations: 291.4 kB / 415.7 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.2232, allocations: 283.2 kB / 416 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2232, allocations: 0 / 416 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2234, allocations: 175.3 kB / 416.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.2239, allocations: 137.8 kB / 416.3 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2253, allocations: 1.635 MB / 417.9 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2255, allocations: 0.9491 MB / 418.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.2258, allocations: 106.7 kB / 419 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.2259, allocations: 59.44 kB / 419 MB, free: 2.129 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2259, allocations: 0 / 419 MB, free: 2.129 MB / 298.7 MB Notification: Performance of Templates: time 0.01334/0.2392, allocations: 8.891 MB / 427.9 MB, free: 9.246 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@2/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