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.001915/0.001915, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.00248/0.00248, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001581/0.001581, allocations: 55.91 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1011, allocations: 53.32 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.2057/0.3069, allocations: 5.31 MB / 432.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009421/0.3163, allocations: 9.141 MB / 441.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007961/0.3171, allocations: 57.25 kB / 441.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3182, allocations: 404.8 kB / 441.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.3211, allocations: 0.8425 MB / 442.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.3233, allocations: 0.5971 MB / 443.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.3265, allocations: 1.726 MB / 444.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.3268, allocations: 96.36 kB / 445 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.3275, allocations: 327.5 kB / 445.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.328, allocations: 324.3 kB / 445.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.3281, allocations: 30.62 kB / 445.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.33, allocations: 0.6582 MB / 446.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.3301, allocations: 107.3 kB / 446.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.3304, allocations: 409.6 kB / 446.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.3323, allocations: 1.22 MB / 448 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3323, allocations: 1.125 kB / 448 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3323, allocations: 0 / 448 MB, free: 324 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.3323, allocations: 0 / 448 MB, free: 324 kB / 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.002235/0.3345, allocations: 1.316 MB / 449.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3346, allocations: 10.98 kB / 449.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.3349, allocations: 131 kB / 449.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3362, allocations: 0.8577 MB / 450.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3363, allocations: 18.19 kB / 450.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.3363, allocations: 28.89 kB / 450.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.3369, allocations: 310.3 kB / 450.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3369, allocations: 0.7969 kB / 450.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.337, allocations: 11.27 kB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.337, allocations: 7.406 kB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3374, allocations: 230.4 kB / 450.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.3394, allocations: 1.194 MB / 452.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.3399, allocations: 178.6 kB / 452.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.3402, allocations: 202.3 kB / 452.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.3514, allocations: 8.878 MB / 461.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3514, allocations: 36.97 kB / 461.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.074e-06/0.3514, allocations: 0 / 461.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001787/0.3532, allocations: 0.6527 MB / 462 MB, free: 5.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3533, allocations: 80.17 kB / 462.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3544, allocations: 0.7976 MB / 462.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3544, allocations: 30.89 kB / 462.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.3548, allocations: 439.5 kB / 463.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.3549, allocations: 92.47 kB / 463.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.355, allocations: 59.08 kB / 463.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3552, allocations: 319.9 kB / 463.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3553, allocations: 68.36 kB / 463.9 MB, free: 3.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3555, allocations: 154.1 kB / 464.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.3559, allocations: 228.6 kB / 464.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3559, allocations: 1.375 kB / 464.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007368/0.3566, allocations: 412.6 kB / 464.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3567, allocations: 6.469 kB / 464.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/0.3567, allocations: 17.02 kB / 464.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.3571, allocations: 141.7 kB / 464.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3573, allocations: 39.94 kB / 464.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008022/0.3581, allocations: 0.7066 MB / 465.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.3586, allocations: 28.36 kB / 465.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.3586, allocations: 16.53 kB / 465.6 MB, free: 2.492 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.0003495/0.359, allocations: 194.3 kB / 465.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.3591, allocations: 112.1 kB / 465.9 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/0.3601, allocations: 407.3 kB / 466.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3601, allocations: 3.859 kB / 466.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3601, allocations: 0 / 466.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3601, allocations: 4 kB / 466.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.361, allocations: 0.5039 MB / 466.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.361, allocations: 16.83 kB / 466.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.3611, allocations: 15.55 kB / 466.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.3614, allocations: 134.2 kB / 467 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3615, allocations: 21.08 kB / 467 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006713/0.3621, allocations: 0.6967 MB / 467.7 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3621, allocations: 3.938 kB / 467.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.3628, allocations: 454.4 kB / 468.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.3631, allocations: 180.3 kB / 468.3 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.3632, allocations: 2.281 kB / 468.3 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3634, allocations: 6.312 kB / 468.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.3635, allocations: 15.95 kB / 468.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.3635, allocations: 9.031 kB / 468.4 MB, free: 480 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007842/0.3643, allocations: 0.5412 MB / 468.9 MB, free: 152 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3643, allocations: 3.938 kB / 468.9 MB, free: 148 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007976/0.3651, allocations: 198.4 kB / 469.1 MB, free: 112 kB / 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.0005767/0.3656, allocations: 297 kB / 469.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.3663, allocations: 267.8 kB / 469.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3663, allocations: 3.938 kB / 469.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.3666, allocations: 166.2 kB / 469.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.3674, allocations: 166 kB / 470 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3695, allocations: 1.24 MB / 471.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.3701, allocations: 0.9385 MB / 472.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.3704, allocations: 109.9 kB / 472.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.3705, allocations: 49.56 kB / 472.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3705, allocations: 0 / 472.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01962/0.3901, allocations: 9.229 MB / 481.6 MB, free: 7.844 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.898970864713192]