Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001288/0.001288, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001489/0.001489, allocations: 168.7 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8921/0.8921, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.866e-05, allocations: 6.312 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.01102/0.01103, allocations: 4.966 MB / 256.1 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.02512, allocations: 8.245 MB / 264.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.02852, allocations: 59.31 kB / 264.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.02922, allocations: 337.5 kB / 264.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.03072, allocations: 0.8608 MB / 265.6 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.03394, allocations: 0.5984 MB / 266.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.03548, allocations: 1.701 MB / 267.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.03568, allocations: 107.4 kB / 268 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.03605, allocations: 414.9 kB / 268.4 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.03628, allocations: 223.2 kB / 268.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.03632, allocations: 32 kB / 268.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.03702, allocations: 0.5307 MB / 269.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.03708, allocations: 107.3 kB / 269.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.03752, allocations: 227.4 kB / 269.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.03841, allocations: 0.9497 MB / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.03841, allocations: 0 / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03841, allocations: 3.938 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.03842, allocations: 0 / 270.4 MB, free: 4.383 MB / 250.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.001172/0.0396, allocations: 1.342 MB / 271.8 MB, free: 3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.03963, allocations: 15.98 kB / 271.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.03975, allocations: 140.2 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.04053, allocations: 0.9011 MB / 272.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.04055, allocations: 16.44 kB / 272.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.04059, allocations: 24 kB / 272.9 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.04089, allocations: 275.1 kB / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.0409, allocations: 0 / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.04092, allocations: 12 kB / 273.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.04094, allocations: 8 kB / 273.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.04113, allocations: 139.2 kB / 273.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.04218, allocations: 1.091 MB / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.04239, allocations: 142.8 kB / 274.5 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.04257, allocations: 160.2 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003873/0.04644, allocations: 3.344 MB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.04646, allocations: 45.39 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.04647, allocations: 3.938 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008754/0.04734, allocations: 0.5084 MB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.04738, allocations: 81.11 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.04802, allocations: 0.8669 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.04804, allocations: 29.7 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.04834, allocations: 0.5115 MB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.04838, allocations: 87.25 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.04846, allocations: 63.59 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.04858, allocations: 496.4 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.04864, allocations: 40.2 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.04877, allocations: 178.6 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.04896, allocations: 201.2 kB / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.04896, allocations: 7.938 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003978/0.04936, allocations: 364.2 kB / 281.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.04937, allocations: 4 kB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.04939, allocations: 16 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.04966, allocations: 127.9 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.04978, allocations: 31.98 kB / 281.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/0.05025, allocations: 0.928 MB / 282.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.05038, allocations: 27.78 kB / 282.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.0504, allocations: 16 kB / 282.6 MB, free: 7.742 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 0.0001348/0.05054, allocations: 172.5 kB / 282.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.05062, allocations: 111.3 kB / 282.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.05103, allocations: 338.4 kB / 283.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.05103, allocations: 4 kB / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.05104, allocations: 3.938 kB / 283.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.05104, allocations: 0 / 283.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.05171, allocations: 490.3 kB / 283.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.05173, allocations: 15.98 kB / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.05179, allocations: 23.92 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.05196, allocations: 119.6 kB / 283.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.05198, allocations: 8 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004155/0.05239, allocations: 0.9326 MB / 284.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.05239, allocations: 4.031 kB / 284.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.05273, allocations: 471.6 kB / 285.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.05282, allocations: 95.28 kB / 285.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.05286, allocations: 8 kB / 285.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.05297, allocations: 8 kB / 285.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.05301, allocations: 11.98 kB / 285.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.05302, allocations: 15.98 kB / 285.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003552/0.05338, allocations: 0.5143 MB / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.05338, allocations: 0 / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.05372, allocations: 199.6 kB / 286.1 MB, free: 4.117 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.0003655/0.05409, allocations: 319.3 kB / 286.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.05442, allocations: 233.1 kB / 286.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.05442, allocations: 0 / 286.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.05456, allocations: 167.7 kB / 286.8 MB, free: 3.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.05493, allocations: 140.1 kB / 287 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.05602, allocations: 1.161 MB / 288.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.0561, allocations: 142.2 kB / 288.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.05628, allocations: 110.7 kB / 288.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.05633, allocations: 48.5 kB / 288.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05633, allocations: 0 / 288.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of Templates: time 0.01089/0.06722, allocations: 8.747 MB / 297.2 MB, free: 9.008 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9579652631655335]