Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 112.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 200 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2992, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006164/0.3054, allocations: 5.283 MB / 406 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.3156, allocations: 9.073 MB / 415.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.3165, allocations: 35.69 kB / 415.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.3178, allocations: 397.4 kB / 415.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.3209, allocations: 0.8458 MB / 416.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.3226, allocations: 0.5909 MB / 416.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.3254, allocations: 1.693 MB / 418.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.3257, allocations: 163.1 kB / 418.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.3261, allocations: 314.5 kB / 419.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.3264, allocations: 318 kB / 419.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.3265, allocations: 32 kB / 419.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3278, allocations: 0.6477 MB / 420.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.3279, allocations: 107.3 kB / 420.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.3282, allocations: 405.5 kB / 420.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3295, allocations: 1.195 MB / 421.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3296, allocations: 4 kB / 421.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3296, allocations: 4 kB / 421.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3296, allocations: 0 / 421.8 MB, free: 3.707 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.001724/0.3313, allocations: 1.271 MB / 423.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3314, allocations: 11.97 kB / 423.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3315, allocations: 115.5 kB / 423.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3326, allocations: 0.8444 MB / 424 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.3326, allocations: 24.5 kB / 424.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.3327, allocations: 23.91 kB / 424.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.3334, allocations: 319.6 kB / 424.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3334, allocations: 0 / 424.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3335, allocations: 8 kB / 424.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3335, allocations: 8 kB / 424.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.334, allocations: 234.1 kB / 424.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.3359, allocations: 1.183 MB / 425.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.3363, allocations: 194.6 kB / 426 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3366, allocations: 226.1 kB / 426.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008434/0.3451, allocations: 8.565 MB / 434.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3451, allocations: 38.56 kB / 434.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.3452, allocations: 0 / 434.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00153/0.3467, allocations: 0.6621 MB / 435.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3468, allocations: 77.11 kB / 435.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.3476, allocations: 0.8064 MB / 436.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3477, allocations: 25.7 kB / 436.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.348, allocations: 440.7 kB / 436.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.348, allocations: 78.84 kB / 436.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.3481, allocations: 57.84 kB / 437 MB, free: 2.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.3482, allocations: 325.9 kB / 437.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3484, allocations: 64.2 kB / 437.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.3486, allocations: 150.4 kB / 437.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3489, allocations: 230.1 kB / 437.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3489, allocations: 0 / 437.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00057/0.3495, allocations: 422.8 kB / 438.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3495, allocations: 4 kB / 438.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.3495, allocations: 20.22 kB / 438.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.3499, allocations: 136.8 kB / 438.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.35, allocations: 35.91 kB / 438.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/0.3507, allocations: 0.7123 MB / 439 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.351, allocations: 19.84 kB / 439.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.351, allocations: 16 kB / 439.1 MB, free: 0.6367 MB / 350.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.0002139/0.3512, allocations: 197.7 kB / 439.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3513, allocations: 102.8 kB / 439.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.3521, allocations: 415.4 kB / 439.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3521, allocations: 4 kB / 439.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3521, allocations: 0 / 439.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3521, allocations: 4 kB / 439.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.3527, allocations: 0.5072 MB / 440.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.3527, allocations: 12 kB / 440.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3528, allocations: 23.98 kB / 440.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.3531, allocations: 138.8 kB / 440.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3531, allocations: 11.94 kB / 440.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005475/0.3537, allocations: 0.6957 MB / 441.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3537, allocations: 3.938 kB / 441.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.3542, allocations: 450.3 kB / 441.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.3544, allocations: 175.8 kB / 441.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.3545, allocations: 4 kB / 441.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3547, allocations: 8.062 kB / 441.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.3547, allocations: 15.98 kB / 441.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3547, allocations: 11.94 kB / 441.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005604/0.3553, allocations: 0.5461 MB / 442.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3553, allocations: 0 / 442.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005335/0.3559, allocations: 191.8 kB / 442.5 MB, free: 13.02 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.0004764/0.3563, allocations: 307.1 kB / 442.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.3569, allocations: 283 kB / 443.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3569, allocations: 0 / 443.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3572, allocations: 183.3 kB / 443.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.3579, allocations: 152.8 kB / 443.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3595, allocations: 1.238 MB / 444.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.3601, allocations: 0.9374 MB / 445.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.3603, allocations: 106.7 kB / 445.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.3604, allocations: 51.44 kB / 445.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3604, allocations: 4 kB / 445.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of Templates: time 0.01482/0.3752, allocations: 9.091 MB / 454.9 MB, free: 0.6562 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches