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.001734/0.001734, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.00223/0.00223, allocations: 212.9 kB / 23.74 MB, free: 4.695 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.543/1.543, allocations: 230.5 MB / 257.4 MB, free: 8.02 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.81 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3005, allocations: 53.4 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006956/0.3074, allocations: 5.323 MB / 436.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.3202, allocations: 9.169 MB / 445.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.3212, allocations: 55.38 kB / 445.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.3226, allocations: 402.4 kB / 446.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.3259, allocations: 0.842 MB / 447 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.3282, allocations: 0.6065 MB / 447.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.3317, allocations: 1.729 MB / 449.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.332, allocations: 107.3 kB / 449.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.3327, allocations: 318.5 kB / 449.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.3332, allocations: 326 kB / 450 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.3332, allocations: 28 kB / 450.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.3353, allocations: 0.6672 MB / 450.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3354, allocations: 99.33 kB / 450.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.336, allocations: 405.5 kB / 451.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.3385, allocations: 1.225 MB / 452.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3385, allocations: 0 / 452.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3385, allocations: 0 / 452.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.3386, allocations: 0 / 452.4 MB, free: 1.359 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.002381/0.3409, allocations: 1.238 MB / 453.7 MB, free: 88 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.341, allocations: 12.03 kB / 453.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.177e-05/0.3411, allocations: 62.67 kB / 453.7 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.3414, allocations: 130.3 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.3429, allocations: 0.7828 MB / 454.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.3429, allocations: 20.5 kB / 454.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.343, allocations: 24 kB / 454.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.3436, allocations: 315.8 kB / 455 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3436, allocations: 0 / 455 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.3436, allocations: 15.92 kB / 455 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3437, allocations: 8 kB / 455 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.3441, allocations: 234 kB / 455.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.3463, allocations: 1.148 MB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.3467, allocations: 181.7 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.3471, allocations: 197.2 kB / 456.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007409/0.3545, allocations: 3.119 MB / 459.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3545, allocations: 30.56 kB / 459.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.3545, allocations: 0 / 459.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001832/0.3564, allocations: 0.5834 MB / 460.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.3564, allocations: 81.11 kB / 460.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3575, allocations: 0.8025 MB / 461.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.3576, allocations: 25.7 kB / 461.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.358, allocations: 445 kB / 461.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/0.3581, allocations: 87.25 kB / 461.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.775e-05/0.3582, allocations: 61.88 kB / 462 MB, free: 7.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3583, allocations: 318 kB / 462.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3585, allocations: 68.2 kB / 462.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3587, allocations: 153.8 kB / 462.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.3591, allocations: 225 kB / 462.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3591, allocations: 0 / 462.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008171/0.3599, allocations: 413.6 kB / 463.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.36, allocations: 7.938 kB / 463.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/0.36, allocations: 16 kB / 463.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.3604, allocations: 139 kB / 463.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3606, allocations: 35.86 kB / 463.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007958/0.3614, allocations: 0.7152 MB / 464.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.3617, allocations: 19.84 kB / 464.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3618, allocations: 16 kB / 464.1 MB, free: 5.312 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.0003734/0.3622, allocations: 205.6 kB / 464.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.3623, allocations: 107.4 kB / 464.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.3633, allocations: 403.4 kB / 464.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3633, allocations: 0 / 464.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3633, allocations: 4 kB / 464.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3633, allocations: 3.984 kB / 464.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007677/0.364, allocations: 498.6 kB / 465.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.3641, allocations: 12 kB / 465.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3642, allocations: 15.98 kB / 465.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/0.3645, allocations: 143.2 kB / 465.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3645, allocations: 4 kB / 465.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007187/0.3653, allocations: 0.7046 MB / 466.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3653, allocations: 3.938 kB / 466.2 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.3659, allocations: 440.5 kB / 466.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.3662, allocations: 107.3 kB / 466.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.3663, allocations: 0 / 466.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3665, allocations: 8 kB / 466.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.3665, allocations: 19.97 kB / 466.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.3666, allocations: 12 kB / 466.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007611/0.3673, allocations: 0.5383 MB / 467.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3673, allocations: 3.938 kB / 467.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006955/0.368, allocations: 199.6 kB / 467.5 MB, free: 1.809 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.001523/0.3695, allocations: 1.185 MB / 468.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.3703, allocations: 268 kB / 468.9 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3703, allocations: 0 / 468.9 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.3706, allocations: 167.3 kB / 469.1 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.3715, allocations: 167 kB / 469.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/0.3795, allocations: 5.337 MB / 474.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.3801, allocations: 0.9374 MB / 475.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.3805, allocations: 106.7 kB / 475.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.3808, allocations: 319.3 kB / 475.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3808, allocations: 0 / 475.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05702/0.4379, allocations: 18.67 MB / 494.6 MB, free: 6.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.01, allocations: 7.938 kB / 494.6 MB, free: 6.535 MB / 398.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv","/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] "Error: Could not read variable J2.D.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J2.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable RC.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable RC.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable J1.D.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J1.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.646624633998726]