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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 50.59 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2967, allocations: 49.16 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003356/0.3001, allocations: 2.442 MB / 399.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3012, allocations: 0.6815 MB / 400 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3013, allocations: 3.25 kB / 400 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.3015, allocations: 42.95 kB / 400 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.3016, allocations: 82.67 kB / 400.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3019, allocations: 92.64 kB / 400.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3023, allocations: 327 kB / 400.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3025, allocations: 63.98 kB / 400.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.3027, allocations: 134 kB / 400.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3029, allocations: 124.2 kB / 400.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.3029, allocations: 27.84 kB / 400.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.303, allocations: 27.56 kB / 400.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3031, allocations: 58.17 kB / 401 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3032, allocations: 120.9 kB / 401.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.3036, allocations: 303.5 kB / 401.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3036, allocations: 0 / 401.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3036, allocations: 3.938 kB / 401.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3036, allocations: 1.375 kB / 401.4 MB, free: 6.598 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.001123/0.3047, allocations: 0.554 MB / 401.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3047, allocations: 13.11 kB / 401.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.3048, allocations: 30.83 kB / 402 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3052, allocations: 210.8 kB / 402.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3052, allocations: 17.53 kB / 402.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.3053, allocations: 17.2 kB / 402.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.3058, allocations: 266.2 kB / 402.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3058, allocations: 1.594 kB / 402.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3059, allocations: 7.594 kB / 402.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3059, allocations: 3.812 kB / 402.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.3066, allocations: 245 kB / 402.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3078, allocations: 0.6887 MB / 403.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.3086, allocations: 225.9 kB / 403.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.3089, allocations: 86.72 kB / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3089, allocations: 3.031 kB / 403.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.3093, allocations: 187.3 kB / 403.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.3093, allocations: 3.984 kB / 403.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009296/0.3102, allocations: 293 kB / 404.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3103, allocations: 84.52 kB / 404.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3105, allocations: 231.5 kB / 404.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3105, allocations: 27.17 kB / 404.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.3106, allocations: 175.7 kB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3106, allocations: 37.72 kB / 404.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.3107, allocations: 48.83 kB / 404.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.3108, allocations: 330.1 kB / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3111, allocations: 118.8 kB / 405.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3114, allocations: 202.1 kB / 405.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.312, allocations: 246.2 kB / 405.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.312, allocations: 5.312 kB / 405.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007128/0.3127, allocations: 332.5 kB / 406 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3127, allocations: 37.23 kB / 406 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3127, allocations: 7.25 kB / 406 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3127, allocations: 2.766 kB / 406 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.313, allocations: 51.72 kB / 406.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.313, allocations: 6.188 kB / 406.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3132, allocations: 47.75 kB / 406.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3133, allocations: 6.375 kB / 406.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003064/0.3136, allocations: 207.3 kB / 406.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002767/0.3138, allocations: 192.3 kB / 406.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004604/0.3143, allocations: 224.2 kB / 406.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.3143, allocations: 0 / 406.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006311/0.3149, allocations: 323.8 kB / 407.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.315, allocations: 37.89 kB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.315, allocations: 1.375 kB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.315, allocations: 2.75 kB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3152, allocations: 55.09 kB / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3152, allocations: 2.312 kB / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3154, allocations: 33.83 kB / 407.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3154, allocations: 14.91 kB / 407.2 MB, free: 2.859 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 8.715e-05/0.3155, allocations: 194.3 kB / 407.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3156, allocations: 21.48 kB / 407.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3156, allocations: 24.41 kB / 407.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3156, allocations: 2.75 kB / 407.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3156, allocations: 0.8438 kB / 407.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3156, allocations: 5.016 kB / 407.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3158, allocations: 189.1 kB / 407.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3158, allocations: 6.406 kB / 407.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3161, allocations: 43.28 kB / 407.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3161, allocations: 0 / 407.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3161, allocations: 6.078 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3161, allocations: 1.984 kB / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3161, allocations: 0 / 407.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.317, allocations: 348.8 kB / 408 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3171, allocations: 23.7 kB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3171, allocations: 3.078 kB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.3173, allocations: 27.17 kB / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.3174, allocations: 17.19 kB / 408.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3174, allocations: 3.312 kB / 408.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3176, allocations: 177.9 kB / 408.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 408.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.318, allocations: 101.9 kB / 408.4 MB, free: 2.148 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.0001131/0.3181, allocations: 100.4 kB / 408.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3191, allocations: 473 kB / 409 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3191, allocations: 0 / 409 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.3194, allocations: 93.53 kB / 409 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3197, allocations: 55.3 kB / 409.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.3207, allocations: 486.1 kB / 409.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.3208, allocations: 130.7 kB / 409.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.3209, allocations: 25.55 kB / 409.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.321, allocations: 23.81 kB / 409.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.321, allocations: 0 / 409.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of Templates: time 0.008783/0.3298, allocations: 3.306 MB / 413.1 MB, free: 15.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.853626728057861]