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.001784/0.001784, allocations: 116.1 kB / 18.46 MB, free: 4.621 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.002245/0.002245, allocations: 216.3 kB / 21.42 MB, free: 1.664 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001616/0.001616, allocations: 47.94 kB / 374.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.1972/0.2996, allocations: 5.319 MB / 432.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008943/0.3086, allocations: 9.142 MB / 441.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008738/0.3094, allocations: 61.78 kB / 442 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3106, allocations: 396.3 kB / 442.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.3135, allocations: 0.8416 MB / 443.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.3154, allocations: 0.598 MB / 443.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.3183, allocations: 1.726 MB / 445.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3185, allocations: 97.14 kB / 445.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.3191, allocations: 326.2 kB / 446 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.3195, allocations: 325.3 kB / 446.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.3196, allocations: 29.94 kB / 446.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.3211, allocations: 0.657 MB / 447 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.3212, allocations: 105 kB / 447.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.3215, allocations: 409 kB / 447.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.3234, allocations: 1.221 MB / 448.7 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3234, allocations: 0 / 448.7 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3234, allocations: 5.922 kB / 448.7 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3234, allocations: 0 / 448.7 MB, free: 268 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.002135/0.3256, allocations: 1.313 MB / 450 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3256, allocations: 8.438 kB / 450 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.3259, allocations: 132.6 kB / 450.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.3272, allocations: 0.8575 MB / 451 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3272, allocations: 23.25 kB / 451 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.3273, allocations: 26.8 kB / 451.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.3278, allocations: 307.2 kB / 451.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3278, allocations: 3.938 kB / 451.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3279, allocations: 10.94 kB / 451.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3279, allocations: 12.5 kB / 451.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.3283, allocations: 230.9 kB / 451.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.3304, allocations: 1.194 MB / 452.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.3308, allocations: 174.7 kB / 453 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.3311, allocations: 197.9 kB / 453.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3414, allocations: 8.879 MB / 462 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.3415, allocations: 31.84 kB / 462.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.517e-06/0.3415, allocations: 0.9062 kB / 462.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001747/0.3432, allocations: 0.6558 MB / 462.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3433, allocations: 80.02 kB / 462.8 MB, free: 4.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3444, allocations: 0.8038 MB / 463.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3444, allocations: 30.98 kB / 463.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.3448, allocations: 443.3 kB / 464.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.3449, allocations: 84.58 kB / 464.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.345, allocations: 58.48 kB / 464.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3452, allocations: 321 kB / 464.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.3453, allocations: 63.98 kB / 464.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3455, allocations: 152.6 kB / 464.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.3459, allocations: 234.6 kB / 465 MB, free: 3.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3459, allocations: 1.375 kB / 465 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007245/0.3467, allocations: 412 kB / 465.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3467, allocations: 6.75 kB / 465.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.3467, allocations: 12.97 kB / 465.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.3471, allocations: 146.9 kB / 465.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3473, allocations: 32.95 kB / 465.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007443/0.348, allocations: 0.7112 MB / 466.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.3484, allocations: 24.59 kB / 466.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3484, allocations: 15.41 kB / 466.3 MB, free: 2.445 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.0002739/0.3487, allocations: 202.3 kB / 466.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3488, allocations: 107.6 kB / 466.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.3496, allocations: 397.6 kB / 467 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3496, allocations: 6.75 kB / 467 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3497, allocations: 0 / 467 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3497, allocations: 0 / 467 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.3504, allocations: 0.5074 MB / 467.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.3504, allocations: 16.81 kB / 467.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3505, allocations: 16.36 kB / 467.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3508, allocations: 141.8 kB / 467.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3508, allocations: 9.156 kB / 467.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006633/0.3515, allocations: 0.7024 MB / 468.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3515, allocations: 3.938 kB / 468.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.3521, allocations: 453.5 kB / 468.9 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3523, allocations: 177.8 kB / 469 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.3524, allocations: 2.125 kB / 469 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3526, allocations: 7 kB / 469 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.3527, allocations: 21.47 kB / 469.1 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3527, allocations: 11.38 kB / 469.1 MB, free: 420 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006521/0.3534, allocations: 0.5366 MB / 469.6 MB, free: 96 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3534, allocations: 4 kB / 469.6 MB, free: 92 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.3541, allocations: 199.5 kB / 469.8 MB, free: 56 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.0006396/0.3547, allocations: 299.9 kB / 470.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.3553, allocations: 271.9 kB / 470.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3553, allocations: 1.812 kB / 470.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.3556, allocations: 168.6 kB / 470.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.3564, allocations: 163 kB / 470.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3585, allocations: 1.273 MB / 472 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.3591, allocations: 0.9388 MB / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.3591, allocations: 55.3 kB / 473 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3591, allocations: 0 / 473 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02199/0.3811, allocations: 14.5 MB / 487.4 MB, free: 2.535 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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: 8.078992060996825]