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.001275/0.001275, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 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.001357/0.001357, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 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.444/1.444, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00192/0.00192, allocations: 59.91 kB / 373.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 53.33 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006157/0.1102, allocations: 5.31 MB / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1212, allocations: 9.134 MB / 441.6 MB, free: 6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.1219, allocations: 39.62 kB / 441.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.1229, allocations: 397.5 kB / 442 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.1255, allocations: 0.8497 MB / 442.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1273, allocations: 0.6025 MB / 443.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.1298, allocations: 1.72 MB / 445.2 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1301, allocations: 95.11 kB / 445.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.1305, allocations: 318.5 kB / 445.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.1308, allocations: 322 kB / 445.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.1309, allocations: 28 kB / 445.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.1323, allocations: 0.6672 MB / 446.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1324, allocations: 103.4 kB / 446.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.1328, allocations: 405.5 kB / 447.1 MB, free: 460 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.3351, allocations: 1.216 MB / 448.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3351, allocations: 4.625 kB / 448.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3351, allocations: 0 / 448.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3351, allocations: 0 / 448.3 MB, free: 12.6 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.001672/0.3368, allocations: 1.312 MB / 449.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3368, allocations: 11 kB / 449.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.337, allocations: 134.7 kB / 449.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.338, allocations: 0.8537 MB / 450.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.338, allocations: 19.44 kB / 450.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3381, allocations: 30.66 kB / 450.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.3385, allocations: 311.7 kB / 451 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3385, allocations: 5.438 kB / 451 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.3386, allocations: 7.719 kB / 451 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3386, allocations: 7.703 kB / 451 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.339, allocations: 234.4 kB / 451.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.3406, allocations: 1.183 MB / 452.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.3409, allocations: 176.4 kB / 452.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3412, allocations: 205.6 kB / 452.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/0.3483, allocations: 8.882 MB / 461.7 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3484, allocations: 37.06 kB / 461.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.3484, allocations: 0 / 461.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001629/0.35, allocations: 0.6493 MB / 462.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.35, allocations: 84.16 kB / 462.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.3513, allocations: 0.7987 MB / 463.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3514, allocations: 30.05 kB / 463.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.3517, allocations: 443.8 kB / 463.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.3517, allocations: 81.12 kB / 463.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.3518, allocations: 60.23 kB / 463.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.3519, allocations: 315.8 kB / 464.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.352, allocations: 71.83 kB / 464.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3522, allocations: 152.6 kB / 464.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.3525, allocations: 228.4 kB / 464.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3525, allocations: 4.734 kB / 464.6 MB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005986/0.3531, allocations: 403.3 kB / 465 MB, free: 1.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3531, allocations: 9.219 kB / 465 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.3532, allocations: 14.3 kB / 465 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.3535, allocations: 143.5 kB / 465.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3537, allocations: 34.03 kB / 465.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005465/0.3543, allocations: 0.7127 MB / 465.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.3546, allocations: 33.53 kB / 465.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.3546, allocations: 20.94 kB / 465.9 MB, free: 1.18 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.0002216/0.3548, allocations: 192.3 kB / 466.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3549, allocations: 108.2 kB / 466.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.3557, allocations: 406.1 kB / 466.6 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3557, allocations: 5.688 kB / 466.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3557, allocations: 0 / 466.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3557, allocations: 3.359 kB / 466.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.3564, allocations: 0.5034 MB / 467.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.3564, allocations: 16.41 kB / 467.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3565, allocations: 18.58 kB / 467.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.3568, allocations: 135.1 kB / 467.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3568, allocations: 9.469 kB / 467.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006419/0.3575, allocations: 0.7021 MB / 468 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3575, allocations: 0.9375 kB / 468 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.358, allocations: 456.8 kB / 468.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3582, allocations: 172.8 kB / 468.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.3583, allocations: 6.484 kB / 468.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3585, allocations: 7.953 kB / 468.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3586, allocations: 20.39 kB / 468.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3586, allocations: 10.09 kB / 468.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006161/0.3592, allocations: 0.5418 MB / 469.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3592, allocations: 0 / 469.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.3598, allocations: 197.4 kB / 469.4 MB, free: 15.12 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.0005186/0.3603, allocations: 303 kB / 469.7 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.361, allocations: 274.8 kB / 470 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.361, allocations: 1 kB / 470 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3613, allocations: 165 kB / 470.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.3621, allocations: 164.6 kB / 470.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.364, allocations: 1.262 MB / 471.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.3645, allocations: 0.9401 MB / 472.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.3648, allocations: 110.6 kB / 472.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.3649, allocations: 50.72 kB / 472.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3649, allocations: 0 / 472.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01715/0.382, allocations: 9.234 MB / 481.9 MB, free: 10.77 MB / 382.1 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.762355455197394]