Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09945, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006698/0.1061, allocations: 5.309 MB / 424.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1184, allocations: 9.088 MB / 433.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007243/0.1191, allocations: 39.69 kB / 433.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1202, allocations: 401.4 kB / 433.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.1228, allocations: 0.842 MB / 434.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1246, allocations: 0.5987 MB / 435.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.1275, allocations: 1.697 MB / 436.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1278, allocations: 103.1 kB / 437 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.1283, allocations: 310.5 kB / 437.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.1287, allocations: 322 kB / 437.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.1288, allocations: 32 kB / 437.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.1305, allocations: 0.6477 MB / 438.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1306, allocations: 103.3 kB / 438.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.131, allocations: 409.5 kB / 438.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.1328, allocations: 1.206 MB / 440 MB, free: 6.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1328, allocations: 4 kB / 440 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1329, allocations: 0 / 440 MB, free: 6.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1329, allocations: 0 / 440 MB, free: 6.926 MB / 366.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.002102/0.135, allocations: 1.306 MB / 441.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.135, allocations: 8.031 kB / 441.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1352, allocations: 116.2 kB / 441.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.1365, allocations: 0.8685 MB / 442.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1365, allocations: 20.56 kB / 442.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.1365, allocations: 24 kB / 442.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.1371, allocations: 307.7 kB / 442.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1371, allocations: 0 / 442.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.1372, allocations: 8 kB / 442.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1372, allocations: 11.98 kB / 442.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.1376, allocations: 234.1 kB / 442.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.1395, allocations: 1.187 MB / 444.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.1399, allocations: 174.6 kB / 444.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.1403, allocations: 198 kB / 444.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.179/0.3193, allocations: 8.56 MB / 453 MB, free: 25.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3193, allocations: 34.94 kB / 453 MB, free: 25.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.126e-06/0.3193, allocations: 4.938 kB / 453.1 MB, free: 25.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001556/0.3208, allocations: 0.6514 MB / 453.7 MB, free: 25.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3209, allocations: 85.22 kB / 453.8 MB, free: 25.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/0.3217, allocations: 0.797 MB / 454.6 MB, free: 25.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3217, allocations: 32.95 kB / 454.6 MB, free: 25.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.322, allocations: 443.6 kB / 455.1 MB, free: 25.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.322, allocations: 83.17 kB / 455.1 MB, free: 25.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.3221, allocations: 62.75 kB / 455.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.3221, allocations: 317.5 kB / 455.5 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3223, allocations: 65.55 kB / 455.6 MB, free: 24.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3224, allocations: 152.4 kB / 455.7 MB, free: 24.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.3227, allocations: 230.1 kB / 455.9 MB, free: 24.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3227, allocations: 5 kB / 455.9 MB, free: 24.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005685/0.3233, allocations: 404.9 kB / 456.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3233, allocations: 6.375 kB / 456.3 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.3234, allocations: 14.03 kB / 456.4 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.3237, allocations: 151.2 kB / 456.5 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.3239, allocations: 38.48 kB / 456.5 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005077/0.3244, allocations: 0.7019 MB / 457.2 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3246, allocations: 32.88 kB / 457.3 MB, free: 23.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3247, allocations: 15.03 kB / 457.3 MB, free: 23.96 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.0001984/0.3249, allocations: 195.1 kB / 457.5 MB, free: 23.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.325, allocations: 107.7 kB / 457.6 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/0.3257, allocations: 399.4 kB / 458 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.3257, allocations: 7.734 kB / 458 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3257, allocations: 3.656 kB / 458 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3257, allocations: 4.188 kB / 458 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.3263, allocations: 0.5076 MB / 458.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.3263, allocations: 12.89 kB / 458.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3264, allocations: 17.03 kB / 458.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.3267, allocations: 142.4 kB / 458.7 MB, free: 23.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3268, allocations: 10.3 kB / 458.7 MB, free: 23.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005457/0.3273, allocations: 0.7055 MB / 459.4 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3273, allocations: 1.344 kB / 459.4 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.3279, allocations: 449.6 kB / 459.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.328, allocations: 179.1 kB / 460 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.3281, allocations: 9.219 kB / 460 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3283, allocations: 3.906 kB / 460 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3284, allocations: 17.06 kB / 460 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3284, allocations: 8.344 kB / 460 MB, free: 22.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005941/0.329, allocations: 0.5445 MB / 460.6 MB, free: 22.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.329, allocations: 0 / 460.6 MB, free: 22.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.3296, allocations: 199.5 kB / 460.8 MB, free: 22.17 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.0004804/0.3301, allocations: 306.6 kB / 461.1 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.3306, allocations: 265.3 kB / 461.3 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3306, allocations: 0.9375 kB / 461.3 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3309, allocations: 166.6 kB / 461.5 MB, free: 21.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.3317, allocations: 167.4 kB / 461.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3334, allocations: 1.28 MB / 462.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3337, allocations: 0.9391 MB / 463.9 MB, free: 20.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.3338, allocations: 52.16 kB / 463.9 MB, free: 20.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3338, allocations: 4 kB / 463.9 MB, free: 20.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01886/0.3527, allocations: 14.45 MB / 478.4 MB, free: 14.81 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.059474140172824]