Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001745/0.001745, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001512/0.001512, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 43.92 kB / 378.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2715, allocations: 53.38 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006487/0.278, allocations: 5.317 MB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2896, allocations: 9.169 MB / 446.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.2902, allocations: 55.38 kB / 446.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.2913, allocations: 399.9 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.294, allocations: 0.8381 MB / 447.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2958, allocations: 0.6065 MB / 448 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.2986, allocations: 1.729 MB / 449.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.2989, allocations: 99.33 kB / 449.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.2994, allocations: 326.5 kB / 450.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.2998, allocations: 329.9 kB / 450.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.2998, allocations: 28 kB / 450.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.3015, allocations: 0.6556 MB / 451.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3016, allocations: 107.3 kB / 451.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.302, allocations: 405.5 kB / 451.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.3037, allocations: 1.229 MB / 452.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3037, allocations: 0 / 452.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3037, allocations: 0 / 452.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3037, allocations: 3.938 kB / 452.9 MB, free: 1.551 MB / 350.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.001985/0.3057, allocations: 1.237 MB / 454.1 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3057, allocations: 12.03 kB / 454.1 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.306, allocations: 132.2 kB / 454.3 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.3073, allocations: 0.785 MB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3074, allocations: 16.5 kB / 455.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3074, allocations: 31.89 kB / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.3079, allocations: 311.8 kB / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.308, allocations: 0 / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.308, allocations: 8 kB / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.308, allocations: 11.98 kB / 455.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3084, allocations: 234.1 kB / 455.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3103, allocations: 1.152 MB / 456.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.3106, allocations: 170.7 kB / 457 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.311, allocations: 209.1 kB / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006839/0.3178, allocations: 3.111 MB / 460.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3178, allocations: 38.56 kB / 460.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.983e-06/0.3178, allocations: 0 / 460.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001659/0.3195, allocations: 0.5733 MB / 460.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.3195, allocations: 81.11 kB / 461 MB, free: 9.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.3205, allocations: 0.8026 MB / 461.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3205, allocations: 29.7 kB / 461.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.3209, allocations: 441 kB / 462.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.321, allocations: 83.31 kB / 462.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.3211, allocations: 57.89 kB / 462.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3213, allocations: 321.9 kB / 462.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3214, allocations: 68.2 kB / 462.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3216, allocations: 145.9 kB / 462.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.322, allocations: 232.1 kB / 463.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.322, allocations: 4 kB / 463.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006306/0.3226, allocations: 401.5 kB / 463.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3226, allocations: 8 kB / 463.5 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.3227, allocations: 19.98 kB / 463.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.323, allocations: 143.8 kB / 463.7 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3232, allocations: 39.91 kB / 463.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007065/0.3239, allocations: 0.6968 MB / 464.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3242, allocations: 35.72 kB / 464.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3242, allocations: 16.06 kB / 464.5 MB, free: 5.586 MB / 366.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.0002662/0.3245, allocations: 193.8 kB / 464.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3246, allocations: 107.3 kB / 464.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.3254, allocations: 418.1 kB / 465.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3254, allocations: 4 kB / 465.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3254, allocations: 3.938 kB / 465.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3254, allocations: 0 / 465.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.3261, allocations: 486.6 kB / 465.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.3261, allocations: 15.98 kB / 465.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3262, allocations: 15.98 kB / 465.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.3265, allocations: 144.7 kB / 465.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3265, allocations: 15.92 kB / 465.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.3272, allocations: 0.6968 MB / 466.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3272, allocations: 0 / 466.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.3278, allocations: 452.5 kB / 467 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.328, allocations: 99.27 kB / 467.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.3281, allocations: 7.984 kB / 467.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3283, allocations: 4 kB / 467.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3284, allocations: 15.94 kB / 467.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3284, allocations: 15.98 kB / 467.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006583/0.329, allocations: 0.5423 MB / 467.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 467.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.3296, allocations: 199.6 kB / 467.9 MB, free: 2.078 MB / 366.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.0005195/0.3301, allocations: 299.7 kB / 468.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.3308, allocations: 263.9 kB / 468.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3308, allocations: 4 kB / 468.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.3311, allocations: 179.2 kB / 468.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.3318, allocations: 151.1 kB / 468.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3338, allocations: 1.253 MB / 470 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.3343, allocations: 0.9374 MB / 470.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.3346, allocations: 110.7 kB / 471 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3347, allocations: 47.44 kB / 471.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3347, allocations: 0 / 471.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of Templates: time 0.01872/0.3534, allocations: 9.415 MB / 480.5 MB, free: 5.414 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.694476422155276]