Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009001/0.0009001, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9036/0.9036, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.648e-05, allocations: 2.312 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00377/0.003787, allocations: 5.057 MB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.01083, allocations: 8.686 MB / 287.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.01122, allocations: 59.31 kB / 287.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.01191, allocations: 377.5 kB / 287.5 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.01339, allocations: 0.8882 MB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.0145, allocations: 0.6179 MB / 289 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09925/0.1138, allocations: 1.794 MB / 290.8 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.114, allocations: 111.5 kB / 290.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.115, allocations: 0.8668 MB / 291.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1153, allocations: 240.7 kB / 292 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.1153, allocations: 28.69 kB / 292.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1164, allocations: 0.5759 MB / 292.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.1164, allocations: 105.1 kB / 292.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1166, allocations: 230.9 kB / 293 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1177, allocations: 0.9632 MB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1177, allocations: 1.125 kB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1177, allocations: 0.9375 kB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.1177, allocations: 0 / 293.9 MB, free: 16.17 MB / 266.7 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.001079/0.1188, allocations: 1.213 MB / 295.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1188, allocations: 13.23 kB / 295.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.119, allocations: 107.7 kB / 295.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.1196, allocations: 0.6917 MB / 296 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1197, allocations: 24.16 kB / 296 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.1197, allocations: 25.36 kB / 296 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.12, allocations: 264.8 kB / 296.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.12, allocations: 0 / 296.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.12, allocations: 9.688 kB / 296.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.12, allocations: 8.047 kB / 296.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1201, allocations: 95.19 kB / 296.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.1209, allocations: 0.7149 MB / 297.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1211, allocations: 147.4 kB / 297.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1212, allocations: 128.5 kB / 297.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00429/0.1255, allocations: 3.588 MB / 301 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1255, allocations: 38.05 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.1255, allocations: 5.906 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000721/0.1263, allocations: 398.5 kB / 301.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.1263, allocations: 80.86 kB / 301.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.1266, allocations: 0.7184 MB / 302.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1267, allocations: 35.3 kB / 302.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1267, allocations: 274 kB / 302.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1268, allocations: 86.12 kB / 302.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1268, allocations: 45.7 kB / 302.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.1269, allocations: 321.1 kB / 302.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.1269, allocations: 23.7 kB / 303 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.127, allocations: 137.5 kB / 303.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.127, allocations: 150.9 kB / 303.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1271, allocations: 0 / 303.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001971/0.1272, allocations: 235.4 kB / 303.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1273, allocations: 10.47 kB / 303.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.1273, allocations: 6.344 kB / 303.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.1275, allocations: 107.5 kB / 303.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1275, allocations: 33.28 kB / 303.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000231/0.1278, allocations: 0.6109 MB / 304.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1279, allocations: 22.84 kB / 304.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1279, allocations: 9.531 kB / 304.3 MB, free: 12.27 MB / 266.7 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 9.698e-05/0.128, allocations: 124.9 kB / 304.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.1281, allocations: 70.66 kB / 304.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.1284, allocations: 281.8 kB / 304.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1284, allocations: 1.969 kB / 304.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1284, allocations: 3.594 kB / 304.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1284, allocations: 0 / 304.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1287, allocations: 288 kB / 305 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.1287, allocations: 7.188 kB / 305 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.1287, allocations: 14.14 kB / 305 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.1288, allocations: 102.7 kB / 305.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1289, allocations: 2.844 kB / 305.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001877/0.129, allocations: 0.6114 MB / 305.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.129, allocations: 0 / 305.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1292, allocations: 289.7 kB / 306 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.1293, allocations: 96.97 kB / 306.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.1293, allocations: 4.031 kB / 306.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.1294, allocations: 6 kB / 306.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1295, allocations: 19.81 kB / 306.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1295, allocations: 2.906 kB / 306.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1296, allocations: 357.4 kB / 306.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1296, allocations: 2.906 kB / 306.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.13, allocations: 204.5 kB / 306.7 MB, free: 11.18 MB / 266.7 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.0003476/0.1304, allocations: 327.8 kB / 307 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1306, allocations: 191.8 kB / 307.2 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1306, allocations: 10.34 kB / 307.2 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.1307, allocations: 134.9 kB / 307.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1311, allocations: 167.8 kB / 307.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.132, allocations: 1.135 MB / 308.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.1321, allocations: 142.2 kB / 308.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.1322, allocations: 103.2 kB / 308.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1324, allocations: 194.3 kB / 309.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1324, allocations: 3.562 kB / 309.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01066/0.143, allocations: 9.885 MB / 319 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6355962557718158]