Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001442/0.001442, allocations: 112.2 kB / 21.94 MB, free: 12 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.001549/0.001549, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.427/1.427, allocations: 207.6 MB / 236 MB, free: 10.86 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.Integrator,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.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") [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.002073/0.002073, allocations: 51.94 kB / 348.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 49.16 MB / 397.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003678/0.2923, allocations: 2.63 MB / 400.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2936, allocations: 0.719 MB / 401 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2937, allocations: 6.594 kB / 401 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2939, allocations: 43.06 kB / 401 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.294, allocations: 79.8 kB / 401.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.2943, allocations: 93.94 kB / 401.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.2947, allocations: 331.9 kB / 401.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2949, allocations: 64.17 kB / 401.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2951, allocations: 134.5 kB / 401.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2953, allocations: 143.7 kB / 401.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.2953, allocations: 28.19 kB / 401.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.2954, allocations: 27.88 kB / 401.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.2954, allocations: 60.55 kB / 402 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2955, allocations: 129.7 kB / 402.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.2959, allocations: 306.5 kB / 402.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2959, allocations: 1.188 kB / 402.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2959, allocations: 0 / 402.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.296, allocations: 0 / 402.4 MB, free: 6.473 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.001161/0.2971, allocations: 0.5552 MB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2972, allocations: 13.81 kB / 403 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.2972, allocations: 30.83 kB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2976, allocations: 215.1 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2976, allocations: 16.88 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2977, allocations: 17.31 kB / 403.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.2982, allocations: 237.8 kB / 403.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2982, allocations: 4 kB / 403.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2982, allocations: 6.281 kB / 403.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2982, allocations: 3.938 kB / 403.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.2989, allocations: 241.7 kB / 403.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.3003, allocations: 0.7869 MB / 404.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.3011, allocations: 222 kB / 404.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.3013, allocations: 91.98 kB / 404.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3014, allocations: 1.594 kB / 404.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.3018, allocations: 168.1 kB / 405 MB, free: 4.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3018, allocations: 0 / 405 MB, free: 4.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001723/0.3035, allocations: 473.3 kB / 405.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3035, allocations: 83.84 kB / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3038, allocations: 243.7 kB / 405.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3038, allocations: 26.92 kB / 405.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3039, allocations: 167 kB / 406 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3039, allocations: 41.44 kB / 406 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.304, allocations: 48.11 kB / 406 MB, free: 4.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.3041, allocations: 330 kB / 406.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3043, allocations: 95.69 kB / 406.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.3047, allocations: 146.8 kB / 406.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.3052, allocations: 249.4 kB / 406.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3052, allocations: 0.75 kB / 406.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000982/0.3062, allocations: 384.4 kB / 407.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.3063, allocations: 37.28 kB / 407.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3063, allocations: 3.5 kB / 407.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.3067, allocations: 86.52 kB / 407.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.307, allocations: 54.86 kB / 407.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3084, allocations: 1.448 MB / 408.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.3087, allocations: 50.83 kB / 408.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3088, allocations: 7.484 kB / 408.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003341/0.3091, allocations: 175.9 kB / 409.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.3094, allocations: 142.2 kB / 409.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004717/0.3098, allocations: 222.2 kB / 409.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.3098, allocations: 0 / 409.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006487/0.3105, allocations: 307.8 kB / 409.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.3105, allocations: 37.98 kB / 409.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3105, allocations: 1.375 kB / 409.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.902e-05/0.3106, allocations: 24.98 kB / 409.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3108, allocations: 45.38 kB / 409.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007351/0.3115, allocations: 1.444 MB / 411.3 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3118, allocations: 37.06 kB / 411.3 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3118, allocations: 6.375 kB / 411.3 MB, free: 168 kB / 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.312, allocations: 199.4 kB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.312, allocations: 22.19 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.312, allocations: 21.47 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3121, allocations: 2.625 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3121, allocations: 0.6094 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3121, allocations: 4.562 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.3124, allocations: 265.2 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3124, allocations: 3.938 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3126, allocations: 31 kB / 411.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.3128, allocations: 47.94 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3128, allocations: 0.6094 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3145, allocations: 1.449 MB / 413.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3145, allocations: 1.156 kB / 413.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.3156, allocations: 400 kB / 413.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3156, allocations: 21.98 kB / 413.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3157, allocations: 5.656 kB / 413.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3159, allocations: 25.56 kB / 413.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.316, allocations: 18.53 kB / 413.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.316, allocations: 11.67 kB / 413.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.3162, allocations: 173.6 kB / 414 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 414 MB, free: 13.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.3167, allocations: 109.4 kB / 414.1 MB, free: 13.93 MB / 334.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.3169, allocations: 102.1 kB / 414.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.3183, allocations: 0.637 MB / 414.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3183, allocations: 0 / 414.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.3188, allocations: 211 kB / 415 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3191, allocations: 43.22 kB / 415.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3204, allocations: 0.5318 MB / 415.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3208, allocations: 0.7525 MB / 416.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.3208, allocations: 18.69 kB / 416.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3209, allocations: 0 / 416.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Templates: time 0.00733/0.3282, allocations: 3.957 MB / 420.3 MB, free: 9.934 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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: 7.835553177865222]