Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001315/0.001315, allocations: 109.2 kB / 19.81 MB, free: 2.512 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.001747/0.001747, allocations: 217.9 kB / 23 MB, free: 5.602 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.465/1.465, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2826, allocations: 53.32 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004415/0.287, allocations: 2.91 MB / 432.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2885, allocations: 0.7557 MB / 433.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2886, allocations: 4 kB / 433.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2888, allocations: 55.5 kB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.289, allocations: 99.25 kB / 433.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2893, allocations: 115.8 kB / 433.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.2898, allocations: 386.5 kB / 434.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.2901, allocations: 91.25 kB / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2904, allocations: 163.4 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.2906, allocations: 163.2 kB / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.2907, allocations: 44 kB / 434.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.2907, allocations: 36 kB / 434.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2908, allocations: 71.77 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.291, allocations: 167.2 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.2914, allocations: 427.6 kB / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2914, allocations: 7.922 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2915, allocations: 0 / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2915, allocations: 0 / 435.3 MB, free: 2.086 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001353/0.2928, allocations: 0.6651 MB / 435.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2928, allocations: 8.031 kB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.2929, allocations: 32.75 kB / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.2933, allocations: 292.8 kB / 436.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2934, allocations: 20.94 kB / 436.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.2934, allocations: 28.31 kB / 436.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.2943, allocations: 319.9 kB / 436.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2943, allocations: 4 kB / 436.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.2943, allocations: 8 kB / 436.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2943, allocations: 4 kB / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.2951, allocations: 278 kB / 436.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.297, allocations: 1.115 MB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/0.2979, allocations: 238.5 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.2983, allocations: 100.8 kB / 438.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.2983, allocations: 4 kB / 438.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.2988, allocations: 165 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.2988, allocations: 4 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001054/0.2998, allocations: 317.2 kB / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.2999, allocations: 81.11 kB / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.3002, allocations: 258.6 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.3002, allocations: 33.7 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3004, allocations: 199.9 kB / 439.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.3005, allocations: 43.64 kB / 439.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.3006, allocations: 45.7 kB / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3007, allocations: 342.8 kB / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.3011, allocations: 96.16 kB / 439.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.3015, allocations: 199.5 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.3022, allocations: 298.7 kB / 440.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3022, allocations: 4 kB / 440.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000876/0.3031, allocations: 359.1 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.3031, allocations: 41.72 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3031, allocations: 0 / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3031, allocations: 12 kB / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3034, allocations: 63.89 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3034, allocations: 4 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.3037, allocations: 59.73 kB / 440.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.3038, allocations: 15.94 kB / 441 MB, free: 12.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.000165/0.3039, allocations: 145.9 kB / 441.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.304, allocations: 23.86 kB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.304, allocations: 21.7 kB / 441.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3041, allocations: 7.938 kB / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3041, allocations: 0 / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3041, allocations: 3.938 kB / 441.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.3044, allocations: 313.5 kB / 441.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3044, allocations: 4 kB / 441.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3046, allocations: 43.95 kB / 441.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3046, allocations: 3.938 kB / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3047, allocations: 4 kB / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3047, allocations: 0 / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3047, allocations: 4 kB / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3057, allocations: 372.6 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.3058, allocations: 100.9 kB / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3059, allocations: 7.984 kB / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3061, allocations: 27.97 kB / 442 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.3061, allocations: 15.98 kB / 442 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3062, allocations: 7.922 kB / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3064, allocations: 186 kB / 442.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3064, allocations: 64 / 442.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3067, allocations: 75.78 kB / 442.3 MB, free: 10.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001395/0.3068, allocations: 107.2 kB / 442.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008011/0.3076, allocations: 283.2 kB / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3076, allocations: 0 / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.3079, allocations: 99.86 kB / 442.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3083, allocations: 56.52 kB / 442.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3094, allocations: 0.5325 MB / 443.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3098, allocations: 0.7557 MB / 444.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3099, allocations: 26.28 kB / 444.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.31, allocations: 19.44 kB / 444.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.31, allocations: 0 / 444.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of Templates: time 0.007155/0.3171, allocations: 3.111 MB / 447.3 MB, free: 5.578 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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: 4.704521782696247]