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.001486/0.001486, allocations: 112.2 kB / 21.94 MB, free: 12 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.001773/0.001773, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 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 1.45/1.45, allocations: 207.6 MB / 236 MB, free: 10.88 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 51.92 kB / 348.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2777, allocations: 49.16 MB / 397.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005372/0.2831, allocations: 5.163 MB / 402.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00928/0.2924, allocations: 8.715 MB / 411.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007556/0.2931, allocations: 62.56 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2943, allocations: 388.1 kB / 411.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.2976, allocations: 0.8315 MB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.2997, allocations: 0.5787 MB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.3028, allocations: 1.659 MB / 415 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.303, allocations: 105.2 kB / 415.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.3035, allocations: 295.9 kB / 415.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.3039, allocations: 323.9 kB / 415.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.304, allocations: 29.72 kB / 415.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.3055, allocations: 0.5637 MB / 416.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3056, allocations: 99.23 kB / 416.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.306, allocations: 403.8 kB / 416.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3077, allocations: 1.208 MB / 418 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3077, allocations: 0 / 418 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3077, allocations: 1 kB / 418 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3077, allocations: 0 / 418 MB, free: 11.93 MB / 334.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.002101/0.3098, allocations: 1.239 MB / 419.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3099, allocations: 13.11 kB / 419.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.3101, allocations: 121.2 kB / 419.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3114, allocations: 0.7797 MB / 420.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3115, allocations: 19 kB / 420.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.3115, allocations: 23.88 kB / 420.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.3121, allocations: 317.3 kB / 420.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3121, allocations: 0 / 420.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.3122, allocations: 10.34 kB / 420.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3122, allocations: 5.688 kB / 420.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.3126, allocations: 237.2 kB / 420.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.3146, allocations: 1.158 MB / 421.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.3149, allocations: 188.7 kB / 422.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3153, allocations: 198.1 kB / 422.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006957/0.3222, allocations: 3.102 MB / 425.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.3222, allocations: 35.72 kB / 425.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.3222, allocations: 1.188 kB / 425.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001679/0.3239, allocations: 0.5727 MB / 426 MB, free: 6.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.324, allocations: 85.09 kB / 426.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.325, allocations: 0.7987 MB / 426.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.325, allocations: 29.64 kB / 426.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.3254, allocations: 444.9 kB / 427.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.3255, allocations: 87.31 kB / 427.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.3256, allocations: 53.94 kB / 427.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3258, allocations: 325.9 kB / 427.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3259, allocations: 64.2 kB / 427.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3261, allocations: 145.8 kB / 428 MB, free: 4.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3265, allocations: 228.5 kB / 428.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3265, allocations: 4 kB / 428.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006572/0.3272, allocations: 406 kB / 428.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3272, allocations: 8.266 kB / 428.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.3272, allocations: 20 kB / 428.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.3276, allocations: 140.7 kB / 428.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3278, allocations: 31.97 kB / 428.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007206/0.3285, allocations: 0.72 MB / 429.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3288, allocations: 31.72 kB / 429.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.3289, allocations: 16 kB / 429.6 MB, free: 2.98 MB / 334.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.000259/0.3291, allocations: 197.8 kB / 429.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3292, allocations: 107.3 kB / 429.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.3301, allocations: 399.4 kB / 430.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3301, allocations: 4 kB / 430.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3301, allocations: 0 / 430.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3301, allocations: 0 / 430.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.3309, allocations: 490.6 kB / 430.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.331, allocations: 15.98 kB / 430.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3311, allocations: 27.86 kB / 430.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.3314, allocations: 136.8 kB / 430.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3314, allocations: 4 kB / 430.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007492/0.3322, allocations: 0.6968 MB / 431.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3322, allocations: 0 / 431.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.3329, allocations: 464.2 kB / 432.1 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.3331, allocations: 95.33 kB / 432.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.3332, allocations: 7.984 kB / 432.2 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3334, allocations: 12.06 kB / 432.2 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3335, allocations: 15.92 kB / 432.2 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3335, allocations: 15.98 kB / 432.2 MB, free: 224 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006996/0.3342, allocations: 0.5344 MB / 432.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 432.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.3348, allocations: 199.6 kB / 433 MB, free: 15.48 MB / 350.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.0005695/0.3354, allocations: 291.2 kB / 433.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.336, allocations: 275.4 kB / 433.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3361, allocations: 0 / 433.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.3363, allocations: 163.3 kB / 433.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.337, allocations: 143.5 kB / 433.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3392, allocations: 1.276 MB / 435.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.3398, allocations: 0.9413 MB / 436 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.3399, allocations: 47.44 kB / 436.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3399, allocations: 0 / 436.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.02158/0.3615, allocations: 14.45 MB / 450.5 MB, free: 13.78 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.057909243972972]