Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009457/0.0009457, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.968/0.968, allocations: 177 MB / 205.2 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.034e-05, allocations: 5.266 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003379/0.003399, allocations: 3.221 MB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.005046, allocations: 1.013 MB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.005199, allocations: 4 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.005344, allocations: 59.42 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.005637, allocations: 146.7 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.005923, allocations: 151.5 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.006292, allocations: 0.5015 MB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.006467, allocations: 96.33 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.00682, allocations: 287.3 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.006982, allocations: 151.6 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.007041, allocations: 44 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.007181, allocations: 79.91 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.007242, allocations: 99.58 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.007333, allocations: 147.7 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.00769, allocations: 362.7 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007694, allocations: 0 / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.007695, allocations: 0 / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.0077, allocations: 0 / 279.8 MB, free: 10.63 MB / 266.7 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.0007263/0.008427, allocations: 0.6436 MB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001008/0.008528, allocations: 11.98 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.008661, allocations: 64.88 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.008902, allocations: 212.6 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.008922, allocations: 29.03 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.008962, allocations: 44.36 kB / 280.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.009284, allocations: 369 kB / 281.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.009295, allocations: 4.172 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.009314, allocations: 12.38 kB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.009324, allocations: 11.94 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.009435, allocations: 84.55 kB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.01038, allocations: 0.8152 MB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.01073, allocations: 159.1 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.0109, allocations: 137.2 kB / 282.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.01103, allocations: 72.16 kB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01106, allocations: 34.8 kB / 282.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01106, allocations: 0 / 282.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004834/0.01154, allocations: 268.8 kB / 282.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.01157, allocations: 85.09 kB / 282.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01172, allocations: 274.9 kB / 283.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01174, allocations: 29.7 kB / 283.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.01181, allocations: 196.8 kB / 283.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.01186, allocations: 107.1 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.01193, allocations: 70.02 kB / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.01203, allocations: 342.8 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.01209, allocations: 44.72 kB / 283.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.01218, allocations: 143.5 kB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01233, allocations: 175.6 kB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01234, allocations: 4.031 kB / 284.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002633/0.0126, allocations: 245.7 kB / 284.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01261, allocations: 4.25 kB / 284.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01262, allocations: 8 kB / 284.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.01278, allocations: 64.8 kB / 284.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.013, allocations: 91.81 kB / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.01419, allocations: 1.555 MB / 286.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.0143, allocations: 39.72 kB / 286.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.01432, allocations: 20.02 kB / 286.2 MB, free: 3.852 MB / 266.7 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 8.625e-05/0.0144, allocations: 125.7 kB / 286.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.01444, allocations: 27.97 kB / 286.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.01466, allocations: 190.3 kB / 286.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01466, allocations: 7.938 kB / 286.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01466, allocations: 0 / 286.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01467, allocations: 0 / 286.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.01485, allocations: 193.6 kB / 286.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01485, allocations: 4 kB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.01506, allocations: 79.86 kB / 286.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.01516, allocations: 44.75 kB / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01518, allocations: 8 kB / 286.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002087/0.01539, allocations: 0.5563 MB / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01539, allocations: 0 / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.01568, allocations: 333.4 kB / 287.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.0157, allocations: 27.75 kB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01573, allocations: 11.94 kB / 287.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01583, allocations: 15.98 kB / 287.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.01586, allocations: 15.97 kB / 287.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01588, allocations: 8.031 kB / 287.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.049e-05/0.01595, allocations: 100.6 kB / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01595, allocations: 0 / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.01622, allocations: 119.7 kB / 288 MB, free: 1.922 MB / 266.7 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.000143/0.01636, allocations: 108.3 kB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.0167, allocations: 290.2 kB / 288.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.01671, allocations: 4 kB / 288.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01682, allocations: 96.62 kB / 288.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.017, allocations: 36.64 kB / 288.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.01787, allocations: 0.6643 MB / 289.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.901e-05/0.01793, allocations: 104.5 kB / 289.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.01802, allocations: 38.95 kB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.01815, allocations: 107.2 kB / 289.4 MB, free: 420 kB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01815, allocations: 3.938 kB / 289.4 MB, free: 416 kB / 266.7 MB Notification: Performance of Templates: time 0.1033/0.1214, allocations: 3.99 MB / 293.4 MB, free: 25.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.715686347335577]