Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 99.95 kB / 21.18 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 187.4 kB / 24.46 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.92 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2898, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005067/0.2948, allocations: 2.686 MB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2965, allocations: 0.6973 MB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.2968, allocations: 4 kB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.297, allocations: 47.45 kB / 427.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.2974, allocations: 103.2 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.2977, allocations: 119.8 kB / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.2983, allocations: 390.5 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2985, allocations: 83.33 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.2987, allocations: 159.4 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.299, allocations: 135.3 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.299, allocations: 40 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.2991, allocations: 36 kB / 428.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.2992, allocations: 87.67 kB / 428.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2993, allocations: 127.5 kB / 428.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.2999, allocations: 437.3 kB / 429 MB, free: 9.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2999, allocations: 4 kB / 429 MB, free: 9.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2999, allocations: 0 / 429 MB, free: 9.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.2999, allocations: 0 / 429 MB, free: 9.34 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.00138/0.3013, allocations: 0.5849 MB / 429.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3013, allocations: 12.02 kB / 429.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.3014, allocations: 36.7 kB / 429.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.3019, allocations: 223.1 kB / 429.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.3019, allocations: 20.88 kB / 429.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.3019, allocations: 24.38 kB / 429.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.3027, allocations: 348.7 kB / 430.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3027, allocations: 0 / 430.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3027, allocations: 8 kB / 430.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3028, allocations: 8 kB / 430.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.3036, allocations: 273.8 kB / 430.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.3057, allocations: 1.018 MB / 431.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.3066, allocations: 234.5 kB / 431.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.3069, allocations: 100.8 kB / 431.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.307, allocations: 0 / 431.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.3075, allocations: 198.6 kB / 432 MB, free: 6.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3075, allocations: 0 / 432 MB, free: 6.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00206/0.3095, allocations: 0.5174 MB / 432.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.3096, allocations: 81.11 kB / 432.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.3099, allocations: 260.9 kB / 432.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.31, allocations: 29.7 kB / 432.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3101, allocations: 200 kB / 433.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3102, allocations: 43.62 kB / 433.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.3103, allocations: 49.7 kB / 433.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3105, allocations: 334.8 kB / 433.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.3109, allocations: 125.9 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.3113, allocations: 250.8 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.3121, allocations: 303.8 kB / 434.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3121, allocations: 4 kB / 434.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001306/0.3134, allocations: 473.1 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3134, allocations: 33.69 kB / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3135, allocations: 4 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.3138, allocations: 76.81 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3141, allocations: 47.91 kB / 434.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.3165, allocations: 1.513 MB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.3168, allocations: 47.81 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.3169, allocations: 11.94 kB / 436.4 MB, free: 1.445 MB / 334.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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.3171, allocations: 157.6 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3171, allocations: 23.92 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.3172, allocations: 21.72 kB / 436.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3172, allocations: 3.984 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3172, allocations: 0 / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3172, allocations: 0 / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3174, allocations: 217.1 kB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3174, allocations: 0 / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3176, allocations: 31.97 kB / 436.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002411/0.3179, allocations: 60.81 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3179, allocations: 8 kB / 436.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.3201, allocations: 1.502 MB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3201, allocations: 0 / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3215, allocations: 451.8 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3216, allocations: 27.94 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3216, allocations: 8 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.3219, allocations: 31.91 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.322, allocations: 19.97 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.322, allocations: 0 / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.3222, allocations: 184.5 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3222, allocations: 4 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3226, allocations: 67.83 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.3227, allocations: 111.1 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3238, allocations: 427.6 kB / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3238, allocations: 0 / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.3242, allocations: 214.6 kB / 439.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3245, allocations: 41.72 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3282, allocations: 0.9095 MB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3283, allocations: 146.9 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.3284, allocations: 19.44 kB / 441 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3284, allocations: 0 / 441 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.007588/0.336, allocations: 4.626 MB / 445.6 MB, free: 7.918 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.383329724892974]