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.000831/0.000831, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001867, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006987/0.0006987, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009332/0.001632, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.006/1.006, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08727/1.094, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.633e-06/1.633e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.296e-05, allocations: 5.406 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004317/0.00434, allocations: 5.105 MB / 250.3 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008128/0.01247, allocations: 8.749 MB / 259.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.01297, allocations: 63.31 kB / 259.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.01362, allocations: 373.4 kB / 259.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.01552, allocations: 0.8609 MB / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01663, allocations: 0.5633 MB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.01841, allocations: 1.775 MB / 262.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.01859, allocations: 111.3 kB / 262.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008195/0.01941, allocations: 0.9801 MB / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.01966, allocations: 239.1 kB / 264 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.0197, allocations: 32 kB / 264 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009971/0.0207, allocations: 0.6165 MB / 264.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.02076, allocations: 87.38 kB / 264.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.02092, allocations: 211.4 kB / 264.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.02203, allocations: 0.8797 MB / 265.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.02204, allocations: 0 / 265.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02204, allocations: 0 / 265.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.02206, allocations: 4 kB / 265.8 MB, free: 8.828 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.001093/0.02315, allocations: 1.475 MB / 267.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.02318, allocations: 12.62 kB / 267.3 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.02337, allocations: 104.8 kB / 267.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.02402, allocations: 0.7027 MB / 268.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.02403, allocations: 20.88 kB / 268.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.02407, allocations: 28.12 kB / 268.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.02431, allocations: 264.9 kB / 268.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.02432, allocations: 0 / 268.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.02434, allocations: 16 kB / 268.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.02435, allocations: 7.984 kB / 268.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.02446, allocations: 93.06 kB / 268.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.0252, allocations: 0.7061 MB / 269.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.02535, allocations: 158.2 kB / 269.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.02547, allocations: 125.3 kB / 269.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004169/0.02964, allocations: 3.592 MB / 273.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.02966, allocations: 38.56 kB / 273.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.454e-06/0.02966, allocations: 0 / 273.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006694/0.03033, allocations: 403.5 kB / 273.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.03036, allocations: 59.39 kB / 273.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.03073, allocations: 0.7094 MB / 274.3 MB, free: 80 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.03074, allocations: 25.7 kB / 274.3 MB, free: 48 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1115/0.1423, allocations: 275.4 kB / 274.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1424, allocations: 85.34 kB / 274.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1424, allocations: 50.41 kB / 274.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.1425, allocations: 323.1 kB / 275.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.1426, allocations: 22.17 kB / 275.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.1427, allocations: 126.8 kB / 275.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1428, allocations: 162.1 kB / 275.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1428, allocations: 2.344 kB / 275.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004299/0.1433, allocations: 235.2 kB / 275.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1433, allocations: 9.375 kB / 275.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1433, allocations: 7.281 kB / 275.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.1436, allocations: 95.11 kB / 275.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1438, allocations: 45.5 kB / 275.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003342/0.1441, allocations: 0.6041 MB / 276.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.1443, allocations: 26.06 kB / 276.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.1443, allocations: 8.047 kB / 276.4 MB, free: 12.67 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 0.0001185/0.1445, allocations: 133.4 kB / 276.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.1446, allocations: 73.42 kB / 276.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.145, allocations: 270.5 kB / 276.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.145, allocations: 9.891 kB / 276.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.145, allocations: 0 / 276.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.145, allocations: 4.5 kB / 276.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1454, allocations: 292.2 kB / 277.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.1454, allocations: 2.969 kB / 277.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.1455, allocations: 20.03 kB / 277.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1456, allocations: 88.84 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.1458, allocations: 99.12 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1458, allocations: 5.797 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002715/0.1461, allocations: 0.6016 MB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1461, allocations: 0.5312 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.1464, allocations: 293.5 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.1465, allocations: 9.984 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.1466, allocations: 4.969 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1466, allocations: 13.58 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1467, allocations: 4.312 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003533/0.147, allocations: 361 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.147, allocations: 2.625 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.1475, allocations: 205 kB / 278.8 MB, free: 11.64 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.0004892/0.148, allocations: 327 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1483, allocations: 191.9 kB / 279.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/0.1483, allocations: 14.62 kB / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1485, allocations: 138.9 kB / 279.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.1494, allocations: 1.51 MB / 281 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.1526, allocations: 1.148 MB / 282.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1527, allocations: 139.3 kB / 282.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.153, allocations: 109.3 kB / 282.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.1532, allocations: 187.2 kB / 282.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1532, allocations: 0 / 282.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of Templates: time 0.0158/0.169, allocations: 10.18 MB / 292.8 MB, free: 6.617 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.703181295655668]