Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 69.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 152 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 46.77 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08439, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006021/0.09041, allocations: 4.629 MB / 376.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.1013, allocations: 7.831 MB / 384 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.1018, allocations: 63.31 kB / 384.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009568/0.1028, allocations: 361.5 kB / 384.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.105, allocations: 0.8303 MB / 385.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1064, allocations: 0.6065 MB / 385.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.1088, allocations: 1.697 MB / 387.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1091, allocations: 107.2 kB / 387.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.1094, allocations: 322.5 kB / 388 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.1099, allocations: 309.9 kB / 388.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1099, allocations: 32 kB / 388.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.111, allocations: 0.5502 MB / 388.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1111, allocations: 107.3 kB / 389 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.1115, allocations: 310.1 kB / 389.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1129, allocations: 1.206 MB / 390.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1129, allocations: 0 / 390.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1129, allocations: 4 kB / 390.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1129, allocations: 0 / 390.5 MB, free: 4.301 MB / 350.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.001906/0.1148, allocations: 1.238 MB / 391.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1149, allocations: 12.86 kB / 391.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.115, allocations: 116.2 kB / 391.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1163, allocations: 0.7888 MB / 392.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1163, allocations: 16.5 kB / 392.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.1164, allocations: 24 kB / 392.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.1169, allocations: 337.5 kB / 393 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1169, allocations: 0 / 393 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.117, allocations: 8 kB / 393 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.117, allocations: 11.98 kB / 393 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.1174, allocations: 234 kB / 393.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1191, allocations: 1.044 MB / 394.3 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.1195, allocations: 178.5 kB / 394.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.1198, allocations: 197.4 kB / 394.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006647/0.1265, allocations: 3.087 MB / 397.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1265, allocations: 38.56 kB / 397.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.1265, allocations: 0 / 397.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001659/0.1282, allocations: 0.5784 MB / 398.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1282, allocations: 77.11 kB / 398.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.1292, allocations: 0.7898 MB / 399.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1292, allocations: 25.7 kB / 399.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.1296, allocations: 448.8 kB / 399.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.1296, allocations: 79.31 kB / 399.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.1297, allocations: 57.89 kB / 399.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1299, allocations: 318 kB / 400.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.13, allocations: 68.2 kB / 400.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1302, allocations: 171.6 kB / 400.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.1306, allocations: 232.4 kB / 400.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1306, allocations: 0 / 400.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000644/0.1313, allocations: 408.1 kB / 401 MB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1313, allocations: 4 kB / 401 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.1313, allocations: 23.92 kB / 401 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1317, allocations: 139.5 kB / 401.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1319, allocations: 40.19 kB / 401.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006881/0.1326, allocations: 0.7046 MB / 401.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1328, allocations: 31.77 kB / 402 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1328, allocations: 16 kB / 402 MB, free: 8.445 MB / 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.0002437/0.1331, allocations: 193.8 kB / 402.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1332, allocations: 107.3 kB / 402.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/0.134, allocations: 391.5 kB / 402.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.134, allocations: 7.922 kB / 402.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.134, allocations: 0 / 402.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.134, allocations: 0 / 402.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.1346, allocations: 434.1 kB / 403.1 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.1346, allocations: 12 kB / 403.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1347, allocations: 19.98 kB / 403.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.135, allocations: 136.7 kB / 403.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.135, allocations: 8 kB / 403.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/0.1357, allocations: 0.7029 MB / 404 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1357, allocations: 11.98 kB / 404 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.1363, allocations: 438 kB / 404.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.1365, allocations: 103.2 kB / 404.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.1365, allocations: 8 kB / 404.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1368, allocations: 7.984 kB / 404.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.1368, allocations: 15.97 kB / 404.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1368, allocations: 12 kB / 404.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.1375, allocations: 0.5261 MB / 405.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1375, allocations: 0 / 405.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1381, allocations: 203.6 kB / 405.3 MB, free: 5.051 MB / 366.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.0004893/0.1386, allocations: 291.3 kB / 405.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.1391, allocations: 271.3 kB / 405.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1392, allocations: 0 / 405.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.1395, allocations: 163.8 kB / 406 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.1402, allocations: 168 kB / 406.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1422, allocations: 1.239 MB / 407.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1426, allocations: 349.3 kB / 407.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.1429, allocations: 110.7 kB / 407.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.1429, allocations: 52.5 kB / 407.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1429, allocations: 0 / 407.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01736/0.1603, allocations: 8.655 MB / 416.5 MB, free: 9.809 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.870140362996608]