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.001245/0.001245, allocations: 81.16 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001307/0.001307, allocations: 158.1 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.412/1.412, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001926/0.001926, allocations: 61.36 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09452, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005942/0.1005, allocations: 4.654 MB / 383.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1107, allocations: 7.87 MB / 391.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.1113, allocations: 67.31 kB / 391.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.1123, allocations: 357.5 kB / 391.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.1147, allocations: 0.8498 MB / 392.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1163, allocations: 0.5948 MB / 393.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.119, allocations: 1.729 MB / 395 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1192, allocations: 99.31 kB / 395.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.1197, allocations: 326.5 kB / 395.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.1201, allocations: 306 kB / 395.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.1202, allocations: 32 kB / 395.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.1216, allocations: 0.5775 MB / 396.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1217, allocations: 107.3 kB / 396.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.122, allocations: 302.1 kB / 396.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1236, allocations: 1.225 MB / 398 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1236, allocations: 0 / 398 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1236, allocations: 4 kB / 398 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1236, allocations: 4 kB / 398 MB, free: 12.3 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.001901/0.1255, allocations: 1.234 MB / 399.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1255, allocations: 11.98 kB / 399.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.1258, allocations: 132.2 kB / 399.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1271, allocations: 0.781 MB / 400.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.1271, allocations: 20.5 kB / 400.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.1272, allocations: 28 kB / 400.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.1278, allocations: 333.5 kB / 400.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1278, allocations: 0 / 400.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1278, allocations: 12 kB / 400.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1278, allocations: 12 kB / 400.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.1283, allocations: 234 kB / 400.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.13, allocations: 1.033 MB / 401.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.1303, allocations: 186.5 kB / 402 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.1307, allocations: 205.2 kB / 402.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006688/0.1373, allocations: 3.087 MB / 405.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1374, allocations: 34.56 kB / 405.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.1374, allocations: 0 / 405.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001625/0.139, allocations: 0.5854 MB / 405.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.1391, allocations: 81.11 kB / 406 MB, free: 4.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.14, allocations: 0.782 MB / 406.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.14, allocations: 25.7 kB / 406.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.1404, allocations: 448.8 kB / 407.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.1405, allocations: 83.33 kB / 407.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.1406, allocations: 53.94 kB / 407.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1407, allocations: 318 kB / 407.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1409, allocations: 68.2 kB / 407.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1411, allocations: 183.4 kB / 407.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.1415, allocations: 233.7 kB / 408.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1415, allocations: 0 / 408.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006225/0.1421, allocations: 405.7 kB / 408.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1421, allocations: 12 kB / 408.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.1421, allocations: 15.98 kB / 408.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.1425, allocations: 136.8 kB / 408.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1427, allocations: 39.91 kB / 408.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.1434, allocations: 0.7151 MB / 409.4 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1436, allocations: 31.77 kB / 409.5 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1437, allocations: 12 kB / 409.5 MB, free: 420 kB / 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.0002419/0.1439, allocations: 189.8 kB / 409.7 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.144, allocations: 107.3 kB / 409.8 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.1448, allocations: 395.4 kB / 410.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.1448, allocations: 3.938 kB / 410.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1448, allocations: 3.984 kB / 410.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1448, allocations: 4 kB / 410.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.1454, allocations: 418.3 kB / 410.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.1454, allocations: 16 kB / 410.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1455, allocations: 15.98 kB / 410.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.1458, allocations: 144.7 kB / 410.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1458, allocations: 4 kB / 410.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006407/0.1465, allocations: 0.7112 MB / 411.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1465, allocations: 0 / 411.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.1471, allocations: 448.3 kB / 411.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1473, allocations: 103.3 kB / 412 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.1473, allocations: 8 kB / 412 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1475, allocations: 4 kB / 412 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1476, allocations: 15.97 kB / 412 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1476, allocations: 8 kB / 412 MB, free: 13.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000637/0.1483, allocations: 0.53 MB / 412.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1483, allocations: 0 / 412.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.1488, allocations: 199.6 kB / 412.8 MB, free: 13.02 MB / 382.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.0004908/0.1493, allocations: 307.3 kB / 413.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.1499, allocations: 267.3 kB / 413.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1499, allocations: 4 kB / 413.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.1502, allocations: 163.3 kB / 413.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.151, allocations: 156.7 kB / 413.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1528, allocations: 1.239 MB / 414.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1532, allocations: 349.3 kB / 415.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.1534, allocations: 106.7 kB / 415.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1535, allocations: 48.5 kB / 415.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1535, allocations: 4 kB / 415.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01694/0.1705, allocations: 8.694 MB / 424.1 MB, free: 1.73 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.445151710999198]