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.0009795/0.0009795, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004595/0.004595, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 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.8694/0.8694, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.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.212e-06/1.212e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.871e-05, allocations: 11.06 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003383/0.003402, allocations: 4.651 MB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.00937, allocations: 7.877 MB / 338.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.009663, allocations: 59.38 kB / 338.4 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.01023, allocations: 353.5 kB / 338.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.01152, allocations: 0.8804 MB / 339.6 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.01243, allocations: 0.5984 MB / 340.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.01389, allocations: 1.786 MB / 342 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.01406, allocations: 103.3 kB / 342.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.01445, allocations: 458.8 kB / 342.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.01467, allocations: 235.1 kB / 342.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.0147, allocations: 28 kB / 342.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.01537, allocations: 0.5774 MB / 343.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.01543, allocations: 103.3 kB / 343.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.01557, allocations: 231.2 kB / 343.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.0165, allocations: 1.25 MB / 344.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0165, allocations: 8 kB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.0165, allocations: 0 / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.01651, allocations: 0 / 344.9 MB, free: 12.14 MB / 314.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.001141/0.01765, allocations: 1.226 MB / 346.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.01769, allocations: 15.98 kB / 346.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.01786, allocations: 132.2 kB / 346.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.01861, allocations: 0.7728 MB / 347.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.01862, allocations: 16.88 kB / 347.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.01866, allocations: 36.06 kB / 347.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.019, allocations: 333.5 kB / 347.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.01901, allocations: 0 / 347.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.01903, allocations: 8 kB / 347.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.01904, allocations: 12 kB / 347.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01929, allocations: 234 kB / 347.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.02028, allocations: 1.033 MB / 348.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.02052, allocations: 182.5 kB / 348.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.0207, allocations: 193.4 kB / 349.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003422/0.02412, allocations: 3.107 MB / 352.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.02414, allocations: 34.55 kB / 352.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.02414, allocations: 0 / 352.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008958/0.02504, allocations: 0.5808 MB / 352.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.02508, allocations: 81.11 kB / 352.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.02562, allocations: 0.782 MB / 353.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.02564, allocations: 29.7 kB / 353.7 MB, free: 3.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.02586, allocations: 444.8 kB / 354.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.0259, allocations: 83.28 kB / 354.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.02596, allocations: 57.92 kB / 354.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.02603, allocations: 314 kB / 354.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.02611, allocations: 64.2 kB / 354.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.02623, allocations: 171.5 kB / 354.8 MB, free: 1.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.02644, allocations: 240.2 kB / 355.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02645, allocations: 4 kB / 355.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003545/0.0268, allocations: 401.7 kB / 355.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.02681, allocations: 8 kB / 355.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.02683, allocations: 12 kB / 355.5 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.02707, allocations: 136.8 kB / 355.6 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.02715, allocations: 35.92 kB / 355.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004072/0.02756, allocations: 0.7118 MB / 356.4 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.02768, allocations: 27.78 kB / 356.4 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.0277, allocations: 16 kB / 356.4 MB, free: 288 kB / 314.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.000158/0.02786, allocations: 201.7 kB / 356.6 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.02793, allocations: 107.4 kB / 356.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.02836, allocations: 403.3 kB / 357.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02837, allocations: 4 kB / 357.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02837, allocations: 0 / 357.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02838, allocations: 3.938 kB / 357.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.0287, allocations: 422.3 kB / 357.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.02871, allocations: 12 kB / 357.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.02876, allocations: 19.97 kB / 357.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.02892, allocations: 132.8 kB / 357.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.02894, allocations: 16 kB / 357.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/0.02929, allocations: 0.7154 MB / 358.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02929, allocations: 0 / 358.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.02961, allocations: 452.2 kB / 358.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.0297, allocations: 99.25 kB / 358.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.02974, allocations: 0 / 358.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.02984, allocations: 15.92 kB / 359 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.02988, allocations: 15.97 kB / 359 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.02989, allocations: 12 kB / 359 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003674/0.03026, allocations: 0.5261 MB / 359.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03026, allocations: 0 / 359.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.03057, allocations: 203.6 kB / 359.7 MB, free: 12.86 MB / 330.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.0003443/0.03092, allocations: 315.2 kB / 360 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.03126, allocations: 263.4 kB / 360.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.03126, allocations: 0 / 360.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.0314, allocations: 163.3 kB / 360.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.03182, allocations: 160.7 kB / 360.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.03295, allocations: 1.245 MB / 361.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.03314, allocations: 349.3 kB / 362.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.03319, allocations: 52.5 kB / 362.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03319, allocations: 0 / 362.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01068/0.04387, allocations: 14.87 MB / 377.1 MB, free: 11.4 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.851231537759304]