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.001364/0.001364, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001454/0.001454, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.449/1.449, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.002167/0.002167, allocations: 60.09 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.251, allocations: 53.42 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007093/0.2581, allocations: 4.642 MB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.2705, allocations: 7.881 MB / 444.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.2713, allocations: 59.38 kB / 445 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2726, allocations: 353.5 kB / 445.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.2756, allocations: 0.8458 MB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.2778, allocations: 0.5987 MB / 446.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.2809, allocations: 1.725 MB / 448.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.2812, allocations: 99.33 kB / 448.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.2818, allocations: 334.5 kB / 448.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.2824, allocations: 298 kB / 449.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.2825, allocations: 28 kB / 449.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.2842, allocations: 0.5775 MB / 449.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2843, allocations: 111.3 kB / 449.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.2848, allocations: 302.1 kB / 450.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.2868, allocations: 1.229 MB / 451.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2869, allocations: 3.938 kB / 451.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2869, allocations: 0 / 451.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.2869, allocations: 0 / 451.4 MB, free: 3.379 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.002367/0.2893, allocations: 1.238 MB / 452.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2893, allocations: 15.98 kB / 452.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.2897, allocations: 132.2 kB / 452.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.2911, allocations: 0.7888 MB / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2911, allocations: 20.48 kB / 453.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2912, allocations: 24 kB / 453.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.2918, allocations: 337.5 kB / 454 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2918, allocations: 3.938 kB / 454 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2918, allocations: 12 kB / 454 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2918, allocations: 4 kB / 454 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.2923, allocations: 234 kB / 454.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2941, allocations: 1.032 MB / 455.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.2945, allocations: 186.5 kB / 455.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.2948, allocations: 193.2 kB / 455.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007008/0.3018, allocations: 3.087 MB / 458.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3019, allocations: 38.5 kB / 458.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/0.3019, allocations: 4 kB / 458.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001678/0.3035, allocations: 0.5786 MB / 459.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3036, allocations: 81.11 kB / 459.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3046, allocations: 0.782 MB / 460.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3047, allocations: 29.7 kB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.305, allocations: 440.8 kB / 460.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.3051, allocations: 87.27 kB / 460.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.3052, allocations: 61.81 kB / 460.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3054, allocations: 318 kB / 461.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3055, allocations: 68.2 kB / 461.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3058, allocations: 171.5 kB / 461.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3061, allocations: 237 kB / 461.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3061, allocations: 0 / 461.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007109/0.3069, allocations: 409.3 kB / 462 MB, free: 8.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3069, allocations: 4 kB / 462 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.3069, allocations: 16 kB / 462 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.3073, allocations: 140.7 kB / 462.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3075, allocations: 40.25 kB / 462.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007261/0.3082, allocations: 0.7035 MB / 462.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3084, allocations: 27.86 kB / 462.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.3085, allocations: 12 kB / 462.9 MB, free: 7.512 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.0002656/0.3087, allocations: 197.8 kB / 463.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3089, allocations: 103.3 kB / 463.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.3097, allocations: 407.3 kB / 463.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.3097, allocations: 11.94 kB / 463.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3097, allocations: 0 / 463.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3097, allocations: 3.984 kB / 463.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.3103, allocations: 418.3 kB / 464 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.3103, allocations: 12 kB / 464.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3105, allocations: 27.92 kB / 464.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.3108, allocations: 139 kB / 464.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3108, allocations: 11.94 kB / 464.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006663/0.3114, allocations: 0.6967 MB / 464.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3114, allocations: 8.094 kB / 464.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.3121, allocations: 448.2 kB / 465.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3123, allocations: 95.3 kB / 465.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.3124, allocations: 4 kB / 465.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3126, allocations: 8 kB / 465.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3126, allocations: 15.97 kB / 465.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3126, allocations: 8 kB / 465.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007215/0.3134, allocations: 0.5261 MB / 466 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3134, allocations: 0 / 466 MB, free: 4.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.314, allocations: 203.6 kB / 466.2 MB, free: 4.105 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.0005678/0.3145, allocations: 298.6 kB / 466.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.3151, allocations: 271.3 kB / 466.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3151, allocations: 0 / 466.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.3155, allocations: 175.8 kB / 466.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.3162, allocations: 156.1 kB / 467.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3184, allocations: 1.282 MB / 468.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3187, allocations: 345.3 kB / 468.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3188, allocations: 51.44 kB / 468.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3188, allocations: 3.938 kB / 468.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of Templates: time 0.02356/0.3424, allocations: 14.85 MB / 483.6 MB, free: 2.617 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/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_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: 7.962837150786072]