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.0006831/0.0006831, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001685, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000662/0.000662, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000868/0.00153, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9826/0.9826, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08204/1.065, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.953e-06/1.953e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.755e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005715/0.005732, allocations: 5.105 MB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.01483, allocations: 8.753 MB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.01513, allocations: 55.38 kB / 258.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.01562, allocations: 381.2 kB / 259.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.0167, allocations: 0.8569 MB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.01753, allocations: 0.575 MB / 260.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01906, allocations: 1.771 MB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.01923, allocations: 116.7 kB / 262.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.02019, allocations: 0.9684 MB / 263.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.02044, allocations: 235.2 kB / 263.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.02048, allocations: 28 kB / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.02127, allocations: 0.6243 MB / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.02133, allocations: 83.38 kB / 264.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.02149, allocations: 211.4 kB / 264.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.02241, allocations: 0.8797 MB / 265.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.02242, allocations: 4 kB / 265.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02243, allocations: 0 / 265.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.02245, allocations: 3.938 kB / 265.6 MB, free: 8.91 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.001634/0.02408, allocations: 1.475 MB / 267.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.02411, allocations: 12.62 kB / 267.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.02434, allocations: 104.8 kB / 267.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.02515, allocations: 0.6988 MB / 267.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.02517, allocations: 20.88 kB / 267.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.02521, allocations: 28.12 kB / 268 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.02551, allocations: 268.9 kB / 268.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.02552, allocations: 0 / 268.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.02554, allocations: 12 kB / 268.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.02555, allocations: 4 kB / 268.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.0257, allocations: 93.06 kB / 268.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.02664, allocations: 0.7177 MB / 269.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.02682, allocations: 150.3 kB / 269.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.02696, allocations: 129.3 kB / 269.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.03204, allocations: 3.596 MB / 272.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.03207, allocations: 38.56 kB / 273 MB, free: 1.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.03207, allocations: 0 / 273 MB, free: 1.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008325/0.0329, allocations: 394 kB / 273.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.03293, allocations: 55.41 kB / 273.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.03362, allocations: 0.7133 MB / 274.1 MB, free: 160 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.03364, allocations: 29.64 kB / 274.1 MB, free: 124 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1049/0.1385, allocations: 278.1 kB / 274.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.1386, allocations: 81.41 kB / 274.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.1386, allocations: 52.78 kB / 274.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.1387, allocations: 320.4 kB / 274.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.1387, allocations: 23.5 kB / 274.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1388, allocations: 128.2 kB / 275 MB, free: 13.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1389, allocations: 155.9 kB / 275.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1389, allocations: 0 / 275.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003167/0.1392, allocations: 238.3 kB / 275.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1392, allocations: 9.781 kB / 275.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.1393, allocations: 5.047 kB / 275.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.1395, allocations: 97.73 kB / 275.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1396, allocations: 41.44 kB / 275.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002692/0.1399, allocations: 0.6073 MB / 276.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.14, allocations: 23.86 kB / 276.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1401, allocations: 10.75 kB / 276.2 MB, free: 12.61 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.457e-05/0.1402, allocations: 129.5 kB / 276.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.1402, allocations: 73.66 kB / 276.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.1406, allocations: 271.2 kB / 276.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1406, allocations: 3.406 kB / 276.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1406, allocations: 1.125 kB / 276.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1406, allocations: 1.219 kB / 276.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.1409, allocations: 294 kB / 276.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.1409, allocations: 3.469 kB / 276.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.1409, allocations: 18.97 kB / 277 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.141, allocations: 91.61 kB / 277.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.1412, allocations: 102.8 kB / 277.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1412, allocations: 1.922 kB / 277.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002561/0.1414, allocations: 0.609 MB / 277.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1415, allocations: 0.6562 kB / 277.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1417, allocations: 295.6 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.1417, allocations: 10.33 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1418, allocations: 2.859 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1419, allocations: 16.67 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1419, allocations: 7.703 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.1421, allocations: 359.6 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1421, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.1425, allocations: 202.2 kB / 278.6 MB, free: 11.58 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.0003798/0.1429, allocations: 325.4 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1431, allocations: 190.5 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.1431, allocations: 16.19 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1432, allocations: 128.1 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1437, allocations: 228.1 kB / 279.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.146, allocations: 1.157 MB / 280.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.889e-05/0.1461, allocations: 139.8 kB / 280.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1463, allocations: 109.4 kB / 280.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.1464, allocations: 191.1 kB / 281.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1464, allocations: 0 / 281.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01147/0.1579, allocations: 10.2 MB / 291.3 MB, free: 7.941 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 -ignoreHideResult -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.8012238228693604]