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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 82.14 kB / 21.99 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 157.8 kB / 25.24 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 55.91 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2022, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005615/0.2078, allocations: 4.508 MB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009194/0.217, allocations: 7.486 MB / 360.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.2174, allocations: 59.31 kB / 360.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.2181, allocations: 360 kB / 360.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.2198, allocations: 0.8223 MB / 361.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2211, allocations: 0.5831 MB / 362.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.2235, allocations: 1.655 MB / 364 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.2238, allocations: 107.3 kB / 364.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.2241, allocations: 294.6 kB / 364.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.2245, allocations: 298 kB / 364.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.2246, allocations: 28 kB / 364.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.2256, allocations: 0.5308 MB / 365.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2257, allocations: 103.4 kB / 365.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.2261, allocations: 306.1 kB / 365.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2275, allocations: 1.206 MB / 366.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2275, allocations: 4 kB / 366.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2276, allocations: 0 / 366.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.2276, allocations: 7.938 kB / 366.8 MB, free: 13.13 MB / 334.1 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.001896/0.2295, allocations: 1.234 MB / 368.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2295, allocations: 11.98 kB / 368.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.2296, allocations: 128.2 kB / 368.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.2309, allocations: 0.7844 MB / 369 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2309, allocations: 16.5 kB / 369 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.231, allocations: 24 kB / 369 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.2315, allocations: 337.5 kB / 369.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2315, allocations: 3.938 kB / 369.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2316, allocations: 4 kB / 369.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.2316, allocations: 23.91 kB / 369.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.232, allocations: 226.1 kB / 369.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2337, allocations: 1.048 MB / 370.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.2341, allocations: 182.4 kB / 370.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2344, allocations: 197.3 kB / 371 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006442/0.2409, allocations: 3.076 MB / 374.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2409, allocations: 34.56 kB / 374.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.2409, allocations: 0 / 374.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001573/0.2425, allocations: 0.5762 MB / 374.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.2425, allocations: 81.11 kB / 374.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.2434, allocations: 0.782 MB / 375.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2435, allocations: 29.7 kB / 375.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.2439, allocations: 444.8 kB / 376 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.2439, allocations: 87.25 kB / 376.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.244, allocations: 53.94 kB / 376.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2442, allocations: 325.9 kB / 376.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2443, allocations: 64.2 kB / 376.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.2445, allocations: 171.5 kB / 376.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2449, allocations: 232.3 kB / 376.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2449, allocations: 0 / 376.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006386/0.2456, allocations: 397.5 kB / 377.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2456, allocations: 8 kB / 377.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.2456, allocations: 16.27 kB / 377.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.246, allocations: 152.6 kB / 377.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.2461, allocations: 35.91 kB / 377.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006988/0.2468, allocations: 0.7084 MB / 378.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.2471, allocations: 23.94 kB / 378.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.2471, allocations: 20 kB / 378.3 MB, free: 1.266 MB / 334.1 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.0002367/0.2473, allocations: 193.8 kB / 378.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2475, allocations: 107.3 kB / 378.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007792/0.2482, allocations: 403.2 kB / 379 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2482, allocations: 7.984 kB / 379 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2482, allocations: 0 / 379 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2483, allocations: 0 / 379 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.2488, allocations: 434.2 kB / 379.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.2488, allocations: 12 kB / 379.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2489, allocations: 15.98 kB / 379.4 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.2492, allocations: 136.8 kB / 379.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2493, allocations: 11.94 kB / 379.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006468/0.2499, allocations: 0.7007 MB / 380.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.2499, allocations: 3.984 kB / 380.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.2505, allocations: 444.2 kB / 380.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.2507, allocations: 99.3 kB / 380.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.2508, allocations: 8 kB / 380.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.251, allocations: 8 kB / 380.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.251, allocations: 23.92 kB / 380.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.251, allocations: 8 kB / 380.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006423/0.2517, allocations: 0.53 MB / 381.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2517, allocations: 0 / 381.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000522/0.2522, allocations: 195.6 kB / 381.6 MB, free: 13.86 MB / 350.1 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.000471/0.2527, allocations: 291.3 kB / 381.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.2533, allocations: 271.5 kB / 382.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2533, allocations: 0 / 382.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.2536, allocations: 167.3 kB / 382.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.2541, allocations: 132.6 kB / 382.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.256, allocations: 1.239 MB / 383.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2564, allocations: 353.3 kB / 384 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.2567, allocations: 106.7 kB / 384.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.2567, allocations: 52.48 kB / 384.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2567, allocations: 0 / 384.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Templates: time 0.01674/0.2735, allocations: 8.653 MB / 392.8 MB, free: 2.504 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.547674039029516]