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.001477/0.001477, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.001541/0.001541, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.234 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.002997/0.002997, allocations: 64.08 kB / 378.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2989, allocations: 53.37 MB / 432.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004522/0.3034, allocations: 2.909 MB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3051, allocations: 0.7557 MB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.3053, allocations: 4 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3055, allocations: 51.5 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.3057, allocations: 99.19 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3061, allocations: 123.8 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.3065, allocations: 382.5 kB / 436.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.3067, allocations: 91.66 kB / 436.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.307, allocations: 163.4 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3073, allocations: 167.3 kB / 436.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.3073, allocations: 40 kB / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.3074, allocations: 36 kB / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.3075, allocations: 75.7 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3077, allocations: 167.2 kB / 437.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.3082, allocations: 428.1 kB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3082, allocations: 0 / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3082, allocations: 4 kB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3082, allocations: 0 / 437.6 MB, free: 1.586 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.00133/0.3095, allocations: 0.5936 MB / 438.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3095, allocations: 8.031 kB / 438.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.3096, allocations: 40.75 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.3101, allocations: 238.8 kB / 438.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3101, allocations: 16.88 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.3102, allocations: 32.3 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.311, allocations: 319 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.311, allocations: 0 / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.311, allocations: 8 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.311, allocations: 8 kB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.3119, allocations: 273.8 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3138, allocations: 1.073 MB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.3148, allocations: 238.6 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.3152, allocations: 100.8 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3152, allocations: 7.984 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.3157, allocations: 168.9 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3157, allocations: 0 / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001222/0.3169, allocations: 317.3 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.317, allocations: 85.11 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.3174, allocations: 257.9 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.3174, allocations: 29.7 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3176, allocations: 200 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.3177, allocations: 47.62 kB / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.3178, allocations: 45.7 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.318, allocations: 334.8 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.3183, allocations: 100.2 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.3188, allocations: 199.5 kB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.3195, allocations: 303.7 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3196, allocations: 0 / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009704/0.3205, allocations: 371 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.3206, allocations: 33.7 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3206, allocations: 0 / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3206, allocations: 4 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3209, allocations: 67.94 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3209, allocations: 12 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.3213, allocations: 51.75 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.3213, allocations: 8 kB / 443.1 MB, free: 11.73 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.0001849/0.3215, allocations: 156.5 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3215, allocations: 23.86 kB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.3216, allocations: 21.7 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3216, allocations: 8 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3216, allocations: 0 / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3216, allocations: 3.938 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.322, allocations: 276.6 kB / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.322, allocations: 0 / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3222, allocations: 43.95 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3222, allocations: 3.938 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3222, allocations: 4 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3222, allocations: 4 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3222, allocations: 0 / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3234, allocations: 376.6 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3234, allocations: 31.8 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.3235, allocations: 4 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3237, allocations: 27.97 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.3238, allocations: 20.03 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3238, allocations: 11.94 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.324, allocations: 189.2 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.3243, allocations: 67.84 kB / 444.4 MB, free: 10.41 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.000128/0.3245, allocations: 99.25 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008753/0.3253, allocations: 287 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3253, allocations: 0 / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.3258, allocations: 104.5 kB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3261, allocations: 48.08 kB / 444.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3274, allocations: 0.5296 MB / 445.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.3279, allocations: 0.7518 MB / 446.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.328, allocations: 22.28 kB / 446.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.3281, allocations: 23.44 kB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3281, allocations: 0 / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of Templates: time 0.007959/0.336, allocations: 3.174 MB / 449.4 MB, free: 5.363 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.715163010172546]