Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008755/0.0008755, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8637/0.8637, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.205e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003665/0.003677, allocations: 5.046 MB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.009891, allocations: 8.698 MB / 287.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.01013, allocations: 55.38 kB / 287.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.01063, allocations: 369.4 kB / 287.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01169, allocations: 0.8843 MB / 288.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.01241, allocations: 0.6295 MB / 289.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09279/0.1052, allocations: 1.795 MB / 290.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.1054, allocations: 110.1 kB / 291 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1065, allocations: 0.8662 MB / 291.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.1068, allocations: 235.5 kB / 292.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.1068, allocations: 28.94 kB / 292.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1079, allocations: 0.5764 MB / 292.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.1079, allocations: 107.3 kB / 292.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1082, allocations: 233.4 kB / 293 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1092, allocations: 0.9635 MB / 294 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.1092, allocations: 3.562 kB / 294 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1092, allocations: 0.75 kB / 294 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1092, allocations: 1.062 kB / 294 MB, free: 15.7 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.001074/0.1103, allocations: 1.202 MB / 295.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1103, allocations: 10.08 kB / 295.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.1105, allocations: 106.7 kB / 295.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.1111, allocations: 0.6968 MB / 296 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1112, allocations: 22.53 kB / 296 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1112, allocations: 26.08 kB / 296.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1114, allocations: 269.9 kB / 296.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1115, allocations: 0 / 296.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1115, allocations: 11.03 kB / 296.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1115, allocations: 6.828 kB / 296.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1116, allocations: 96.11 kB / 296.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.1124, allocations: 0.714 MB / 297.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1126, allocations: 145.8 kB / 297.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1127, allocations: 126.3 kB / 297.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004222/0.1169, allocations: 3.594 MB / 301 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1169, allocations: 40.95 kB / 301.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.1169, allocations: 0 / 301.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007094/0.1176, allocations: 402 kB / 301.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.1176, allocations: 79.48 kB / 301.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.118, allocations: 0.7149 MB / 302.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.118, allocations: 31.45 kB / 302.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.1181, allocations: 277 kB / 302.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1182, allocations: 85.59 kB / 302.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1182, allocations: 47 kB / 302.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.408e-05/0.1182, allocations: 319.7 kB / 303 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.1183, allocations: 28.11 kB / 303 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1183, allocations: 132.3 kB / 303.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.1184, allocations: 154.6 kB / 303.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1184, allocations: 0 / 303.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001914/0.1186, allocations: 243.2 kB / 303.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1186, allocations: 3.969 kB / 303.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.1186, allocations: 3.969 kB / 303.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.1188, allocations: 113 kB / 303.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.1189, allocations: 27.64 kB / 303.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002104/0.1191, allocations: 0.6097 MB / 304.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1192, allocations: 29.02 kB / 304.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1192, allocations: 11.16 kB / 304.3 MB, free: 11.81 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 8.583e-05/0.1193, allocations: 126.5 kB / 304.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1194, allocations: 72.7 kB / 304.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1196, allocations: 268.1 kB / 304.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1196, allocations: 3.156 kB / 304.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1196, allocations: 0 / 304.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1196, allocations: 3.703 kB / 304.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1199, allocations: 289 kB / 305.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.1199, allocations: 7.547 kB / 305.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1199, allocations: 18.19 kB / 305.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.1201, allocations: 98.3 kB / 305.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1201, allocations: 3.75 kB / 305.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001703/0.1202, allocations: 0.6069 MB / 305.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1202, allocations: 3.938 kB / 305.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1204, allocations: 300.3 kB / 306.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.1205, allocations: 94.03 kB / 306.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1205, allocations: 7.578 kB / 306.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.1206, allocations: 4.281 kB / 306.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1207, allocations: 13.55 kB / 306.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1207, allocations: 9.656 kB / 306.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.1208, allocations: 358.4 kB / 306.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1208, allocations: 0 / 306.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.1211, allocations: 198.1 kB / 306.8 MB, free: 10.73 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.0003139/0.1215, allocations: 329.6 kB / 307.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1217, allocations: 192.7 kB / 307.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.1217, allocations: 9.094 kB / 307.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.1218, allocations: 133.7 kB / 307.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1221, allocations: 156.8 kB / 307.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.123, allocations: 1.147 MB / 308.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.1231, allocations: 146.1 kB / 308.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1232, allocations: 110.5 kB / 309 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1234, allocations: 187.7 kB / 309.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1234, allocations: 0 / 309.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.1336, allocations: 9.89 MB / 319 MB, free: 0.9805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5911948890425265]