Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001935/0.001935, 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.002617/0.002617, 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.656/1.656, allocations: 207.6 MB / 236 MB, free: 10.88 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [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.001815/0.001815, allocations: 51.92 kB / 348.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.321, allocations: 49.16 MB / 397.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004526/0.3255, allocations: 3.207 MB / 400.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3276, allocations: 1.01 MB / 401.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.3278, allocations: 8.281 kB / 401.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3281, allocations: 57.69 kB / 401.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.3285, allocations: 130.2 kB / 402 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.3289, allocations: 142 kB / 402.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.3295, allocations: 490.8 kB / 402.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3297, allocations: 110.9 kB / 402.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.33, allocations: 189 kB / 402.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3303, allocations: 211 kB / 403.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.3303, allocations: 39.31 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3305, allocations: 81.39 kB / 403.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.3306, allocations: 92.56 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.3308, allocations: 211.8 kB / 403.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000629/0.3314, allocations: 0.4925 MB / 404 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3314, allocations: 1.125 kB / 404 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3314, allocations: 3.938 kB / 404 MB, free: 5.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.3315, allocations: 4 kB / 404.1 MB, free: 5.41 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001345/0.3328, allocations: 0.6716 MB / 404.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3329, allocations: 13.42 kB / 404.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.333, allocations: 47.06 kB / 404.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.3334, allocations: 257.2 kB / 405 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3335, allocations: 22.03 kB / 405.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.3335, allocations: 35.81 kB / 405.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.3342, allocations: 352.9 kB / 405.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3342, allocations: 0 / 405.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3343, allocations: 15.61 kB / 405.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3343, allocations: 7.531 kB / 405.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.3348, allocations: 235.3 kB / 405.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3368, allocations: 1.137 MB / 406.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.3375, allocations: 261.4 kB / 407.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.338, allocations: 208.7 kB / 407.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.3384, allocations: 68.28 kB / 407.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3384, allocations: 37.95 kB / 407.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.3384, allocations: 0 / 407.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001387/0.3398, allocations: 462.6 kB / 407.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3398, allocations: 82.22 kB / 407.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3402, allocations: 336.1 kB / 408.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3402, allocations: 31.08 kB / 408.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3404, allocations: 215.9 kB / 408.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.3405, allocations: 112.3 kB / 408.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3406, allocations: 71.31 kB / 408.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.3407, allocations: 351.1 kB / 409 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3409, allocations: 101.2 kB / 409.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.3412, allocations: 189.8 kB / 409.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.3416, allocations: 296.2 kB / 409.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3416, allocations: 1.5 kB / 409.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008072/0.3425, allocations: 433.3 kB / 410 MB, free: 1.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3425, allocations: 5.438 kB / 410 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3425, allocations: 2.594 kB / 410 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.3428, allocations: 69.06 kB / 410.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.3431, allocations: 77.78 kB / 410.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.3448, allocations: 1.849 MB / 412 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.3451, allocations: 47.44 kB / 412.1 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3452, allocations: 16.05 kB / 412.1 MB, free: 100 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.3454, allocations: 150 kB / 412.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.3455, allocations: 40.77 kB / 412.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/0.3463, allocations: 330.9 kB / 412.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3463, allocations: 7.062 kB / 412.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3463, allocations: 5 kB / 412.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3463, allocations: 1.969 kB / 412.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.3469, allocations: 362.2 kB / 412.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3469, allocations: 0 / 412.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.3473, allocations: 57.59 kB / 413 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.3475, allocations: 64.75 kB / 413.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.3475, allocations: 11.53 kB / 413.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005271/0.3481, allocations: 0.6126 MB / 413.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3481, allocations: 0 / 413.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.3491, allocations: 0.5178 MB / 414.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.3492, allocations: 56.33 kB / 414.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.3493, allocations: 10.09 kB / 414.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3495, allocations: 23.42 kB / 414.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.3496, allocations: 13.88 kB / 414.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3496, allocations: 18.92 kB / 414.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.3499, allocations: 234.7 kB / 414.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3499, allocations: 0 / 414.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005615/0.3505, allocations: 115.5 kB / 414.7 MB, free: 14.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.3507, allocations: 122.8 kB / 414.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.3517, allocations: 398.8 kB / 415.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.3517, allocations: 4 kB / 415.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.3521, allocations: 141.5 kB / 415.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3525, allocations: 40.14 kB / 415.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3542, allocations: 0.9029 MB / 416.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.3548, allocations: 0.7951 MB / 417.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3549, allocations: 29.64 kB / 417.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3549, allocations: 0 / 417.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01048/0.3654, allocations: 5.455 MB / 422.5 MB, free: 9.547 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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: 8.212868336122483]