Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.001726/0.001726, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001937/0.001937, allocations: 213 kB / 23.73 MB, free: 4.164 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 59.84 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.22, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006422/0.2264, allocations: 4.901 MB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02047/0.2469, allocations: 16.64 MB / 452.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.2476, allocations: 35.62 kB / 452.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.2497, allocations: 0.7233 MB / 453.4 MB, free: 68 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.2542, allocations: 1.594 MB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.2577, allocations: 1.285 MB / 456.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.2605, allocations: 1.825 MB / 458.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.2607, allocations: 105.6 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.2612, allocations: 374.3 kB / 458.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.2616, allocations: 345.8 kB / 458.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.2617, allocations: 36 kB / 459 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.2643, allocations: 1.163 MB / 460.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2644, allocations: 115.3 kB / 460.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.2648, allocations: 329.9 kB / 460.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.2671, allocations: 1.619 MB / 462.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2671, allocations: 0 / 462.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2671, allocations: 0 / 462.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2671, allocations: 0 / 462.2 MB, free: 7.246 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002247/0.2693, allocations: 1.347 MB / 463.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2694, allocations: 15.98 kB / 463.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.229e-05/0.2694, allocations: 62.53 kB / 463.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2696, allocations: 127.1 kB / 463.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2707, allocations: 0.7071 MB / 464.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2708, allocations: 20.5 kB / 464.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.2708, allocations: 24 kB / 464.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.2716, allocations: 340.8 kB / 464.8 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2716, allocations: 0 / 464.8 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.2716, allocations: 12 kB / 464.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.2717, allocations: 7.938 kB / 464.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.2726, allocations: 345.9 kB / 465.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2746, allocations: 1.112 MB / 466.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.2755, allocations: 250.6 kB / 466.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.276, allocations: 211.8 kB / 466.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007248/0.2832, allocations: 3.618 MB / 470.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.2838, allocations: 203.2 kB / 470.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.903e-06/0.2838, allocations: 3.938 kB / 470.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001431/0.2852, allocations: 492.6 kB / 471 MB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2853, allocations: 63.34 kB / 471.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.2864, allocations: 0.8824 MB / 472 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.2864, allocations: 33.7 kB / 472 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.2869, allocations: 476.7 kB / 472.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.2869, allocations: 67.47 kB / 472.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2871, allocations: 89.38 kB / 472.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2872, allocations: 318 kB / 472.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.2876, allocations: 123.9 kB / 473.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.2881, allocations: 261.9 kB / 473.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008968/0.289, allocations: 389 kB / 473.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.289, allocations: 4 kB / 473.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001176/0.2902, allocations: 0.5047 MB / 474.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2902, allocations: 16.11 kB / 474.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/0.2903, allocations: 23.94 kB / 474.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2903, allocations: 8 kB / 474.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.2906, allocations: 83.81 kB / 474.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.2906, allocations: 15.88 kB / 474.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.291, allocations: 55.73 kB / 474.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.2911, allocations: 27.98 kB / 474.4 MB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.2914, allocations: 208.8 kB / 474.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2915, allocations: 115.2 kB / 474.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2927, allocations: 466.2 kB / 475.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2928, allocations: 4 kB / 475.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2928, allocations: 3.938 kB / 475.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2928, allocations: 0 / 475.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.2934, allocations: 0.5039 MB / 475.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/0.2935, allocations: 28.02 kB / 475.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.2937, allocations: 43.89 kB / 475.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2937, allocations: 4 kB / 475.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.2938, allocations: 8 kB / 475.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2938, allocations: 0 / 475.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2938, allocations: 3.938 kB / 475.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2948, allocations: 458.7 kB / 476.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.2951, allocations: 123.2 kB / 476.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2952, allocations: 15.92 kB / 476.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.2955, allocations: 23.97 kB / 476.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2956, allocations: 39.94 kB / 476.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.2957, allocations: 16 kB / 476.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008058/0.2965, allocations: 0.5881 MB / 477.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2965, allocations: 0 / 477.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007029/0.2972, allocations: 219.7 kB / 477.3 MB, free: 7.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/0.2992, allocations: 1.367 MB / 478.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3002, allocations: 338.3 kB / 479 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3002, allocations: 0 / 479 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.3007, allocations: 165.5 kB / 479.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.3015, allocations: 168.7 kB / 479.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.3105, allocations: 5.8 MB / 485.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3109, allocations: 370.3 kB / 485.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.3112, allocations: 98.02 kB / 485.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.3116, allocations: 323.3 kB / 485.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3116, allocations: 0 / 485.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/0.3689, allocations: 23.63 MB / 0.4976 GB, free: 7.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.52, allocations: 13.03 kB / 0.4976 GB, free: 7.207 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.0101e-09 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable VGS.p.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.999386543873698]