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.00135/0.00135, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001376/0.001376, allocations: 167.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.408/1.408, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 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 0.001598/0.001598, allocations: 47.59 kB / 325.6 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08877, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005933/0.09471, allocations: 4.646 MB / 383.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1048, allocations: 7.866 MB / 391.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.1053, allocations: 59.38 kB / 391.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008597/0.1062, allocations: 365.5 kB / 391.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.1081, allocations: 0.8458 MB / 392.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1094, allocations: 0.6025 MB / 393.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.1119, allocations: 1.725 MB / 395 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1121, allocations: 103.3 kB / 395.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.1125, allocations: 330.5 kB / 395.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.1129, allocations: 294 kB / 395.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.113, allocations: 35.94 kB / 395.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1142, allocations: 0.5815 MB / 396.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1143, allocations: 95.39 kB / 396.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1146, allocations: 314 kB / 396.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1161, allocations: 1.222 MB / 397.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1161, allocations: 0 / 397.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1161, allocations: 3.938 kB / 397.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1161, allocations: 4 kB / 398 MB, free: 12.55 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.001902/0.118, allocations: 1.234 MB / 399.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.118, allocations: 8.031 kB / 399.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.1183, allocations: 136.1 kB / 399.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1196, allocations: 0.7888 MB / 400.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1196, allocations: 16.5 kB / 400.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.1197, allocations: 24 kB / 400.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.1202, allocations: 345.5 kB / 400.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1203, allocations: 0 / 400.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.1203, allocations: 8 kB / 400.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1203, allocations: 8 kB / 400.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.1207, allocations: 234 kB / 400.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1224, allocations: 1.033 MB / 401.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1228, allocations: 182.6 kB / 401.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.1231, allocations: 197.4 kB / 402.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006646/0.1298, allocations: 3.099 MB / 405.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1298, allocations: 42.5 kB / 405.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.033e-06/0.1298, allocations: 0 / 405.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001605/0.1314, allocations: 0.5824 MB / 405.9 MB, free: 4.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1315, allocations: 77.11 kB / 405.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.1324, allocations: 0.7859 MB / 406.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1324, allocations: 25.7 kB / 406.7 MB, free: 3.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.1328, allocations: 448.8 kB / 407.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1329, allocations: 79.31 kB / 407.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.133, allocations: 53.94 kB / 407.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1331, allocations: 322 kB / 407.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1333, allocations: 68.2 kB / 407.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1335, allocations: 179.8 kB / 407.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.1339, allocations: 228.4 kB / 408.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1339, allocations: 0 / 408.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006399/0.1345, allocations: 404.5 kB / 408.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1345, allocations: 4 kB / 408.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.1346, allocations: 20.28 kB / 408.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.1349, allocations: 140.8 kB / 408.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1351, allocations: 35.91 kB / 408.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.1358, allocations: 0.7073 MB / 409.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.136, allocations: 27.88 kB / 409.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1361, allocations: 23.98 kB / 409.4 MB, free: 0.6719 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.0002455/0.1363, allocations: 197.7 kB / 409.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1365, allocations: 103.3 kB / 409.7 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.1373, allocations: 403.4 kB / 410.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.1373, allocations: 7.938 kB / 410.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1373, allocations: 0 / 410.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1373, allocations: 3.984 kB / 410.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.1378, allocations: 430.1 kB / 410.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.1379, allocations: 12 kB / 410.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.138, allocations: 15.98 kB / 410.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.1383, allocations: 140.7 kB / 410.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1383, allocations: 4 kB / 410.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006521/0.139, allocations: 0.7007 MB / 411.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.139, allocations: 0 / 411.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.1396, allocations: 455.1 kB / 411.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.1398, allocations: 99.3 kB / 412 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.1398, allocations: 0 / 412 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.14, allocations: 12.06 kB / 412 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1401, allocations: 11.98 kB / 412 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1401, allocations: 19.98 kB / 412 MB, free: 14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006314/0.1408, allocations: 0.5222 MB / 412.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1408, allocations: 0 / 412.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.1413, allocations: 207.6 kB / 412.7 MB, free: 13.27 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.0004826/0.1418, allocations: 287.3 kB / 413 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.1424, allocations: 271.2 kB / 413.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1424, allocations: 0 / 413.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.1427, allocations: 174.2 kB / 413.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.1435, allocations: 164.5 kB / 413.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1453, allocations: 1.239 MB / 414.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1457, allocations: 345.3 kB / 415.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.1459, allocations: 106.7 kB / 415.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.146, allocations: 52.5 kB / 415.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.146, allocations: 0 / 415.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01714/0.1631, allocations: 8.686 MB / 424 MB, free: 1.988 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.443788029020652]