Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 194.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 207.6 MB / 234 MB, free: 11.16 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 51.92 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.303, allocations: 49.13 MB / 395 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003616/0.3066, allocations: 2.606 MB / 397.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3078, allocations: 0.7236 MB / 398.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.3079, allocations: 3.625 kB / 398.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.308, allocations: 37.84 kB / 398.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.3082, allocations: 88.38 kB / 398.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3085, allocations: 90.69 kB / 398.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.3088, allocations: 329.2 kB / 398.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.309, allocations: 63.89 kB / 398.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.3092, allocations: 123.8 kB / 399 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3094, allocations: 145.2 kB / 399.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.3094, allocations: 26.88 kB / 399.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.3095, allocations: 28.94 kB / 399.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.3095, allocations: 61.75 kB / 399.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3097, allocations: 137.8 kB / 399.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.3101, allocations: 301.7 kB / 399.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3101, allocations: 1.406 kB / 399.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3101, allocations: 0 / 399.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3101, allocations: 0 / 399.7 MB, free: 6.355 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001125/0.3112, allocations: 0.6216 MB / 400.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3113, allocations: 10.22 kB / 400.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.3113, allocations: 26.27 kB / 400.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3117, allocations: 274.1 kB / 400.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3117, allocations: 13.16 kB / 400.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.3117, allocations: 20.94 kB / 400.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.3123, allocations: 241.3 kB / 400.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3123, allocations: 3.938 kB / 400.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.3124, allocations: 10.12 kB / 400.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3124, allocations: 4.094 kB / 400.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.3131, allocations: 247.1 kB / 401.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3144, allocations: 0.8181 MB / 402 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.3152, allocations: 232 kB / 402.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.3155, allocations: 83.47 kB / 402.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3155, allocations: 5.469 kB / 402.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.3159, allocations: 158.4 kB / 402.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.3159, allocations: 0 / 402.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008845/0.3168, allocations: 286.3 kB / 402.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3168, allocations: 84.39 kB / 402.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.317, allocations: 240.6 kB / 403 MB, free: 4.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.317, allocations: 28.22 kB / 403.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.3171, allocations: 167 kB / 403.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3172, allocations: 49.45 kB / 403.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.3172, allocations: 45.61 kB / 403.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.3173, allocations: 329.3 kB / 403.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.3176, allocations: 91.22 kB / 403.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.3179, allocations: 154.6 kB / 403.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.3184, allocations: 241.8 kB / 404.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3184, allocations: 1.094 kB / 404.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007281/0.3192, allocations: 314 kB / 404.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.3192, allocations: 32.48 kB / 404.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3192, allocations: 2.812 kB / 404.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3192, allocations: 7 kB / 404.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.3195, allocations: 54.31 kB / 404.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3195, allocations: 3.391 kB / 404.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3198, allocations: 44.28 kB / 404.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3198, allocations: 10.42 kB / 404.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003034/0.3201, allocations: 180.2 kB / 404.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002584/0.3204, allocations: 133.2 kB / 404.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004525/0.3208, allocations: 219.4 kB / 405.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.3208, allocations: 7.938 kB / 405.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006604/0.3215, allocations: 294.5 kB / 405.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3215, allocations: 34.31 kB / 405.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3215, allocations: 0.7031 kB / 405.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.3215, allocations: 7.969 kB / 405.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.3218, allocations: 49.53 kB / 405.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3218, allocations: 2.75 kB / 405.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.322, allocations: 39.08 kB / 405.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.322, allocations: 14.88 kB / 405.5 MB, free: 2.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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 9.695e-05/0.3221, allocations: 189.2 kB / 405.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.3222, allocations: 34.31 kB / 405.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3222, allocations: 21.25 kB / 405.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3222, allocations: 1.562 kB / 405.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3222, allocations: 0 / 405.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3222, allocations: 2.078 kB / 405.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3225, allocations: 289.1 kB / 406.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3225, allocations: 1.531 kB / 406.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.3227, allocations: 38.7 kB / 406.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3227, allocations: 1.891 kB / 406.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3227, allocations: 10.17 kB / 406.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3227, allocations: 0 / 406.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3227, allocations: 2.375 kB / 406.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.3236, allocations: 348.2 kB / 406.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3237, allocations: 101.1 kB / 406.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.3237, allocations: 2.172 kB / 406.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3239, allocations: 27.98 kB / 406.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.324, allocations: 16.17 kB / 406.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.324, allocations: 3.406 kB / 406.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3242, allocations: 177.8 kB / 406.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3242, allocations: 0 / 406.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.3246, allocations: 102.2 kB / 406.9 MB, free: 1.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.0001268/0.3247, allocations: 98.88 kB / 407 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3257, allocations: 421.2 kB / 407.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3257, allocations: 0 / 407.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.326, allocations: 88 kB / 407.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3263, allocations: 49.38 kB / 407.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3274, allocations: 0.5135 MB / 408 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3276, allocations: 0.7399 MB / 408.8 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3277, allocations: 26.36 kB / 408.8 MB, free: 412 kB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3277, allocations: 0 / 408.8 MB, free: 412 kB / 318.1 MB Notification: Performance of Templates: time 0.005907/0.3336, allocations: 2.944 MB / 411.7 MB, free: 15.09 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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