Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001405/0.001405, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001566/0.001566, allocations: 139.4 kB / 25.59 MB, free: 8.906 MB / 18.57 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 0.9425/0.9425, allocations: 173.4 MB / 202.2 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.491e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004322/0.004347, allocations: 3.15 MB / 272.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.006014, allocations: 0.9454 MB / 273.3 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.006215, allocations: 4.906 kB / 273.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.006396, allocations: 63.36 kB / 273.4 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.006773, allocations: 129.1 kB / 273.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.007148, allocations: 156 kB / 273.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.007626, allocations: 0.4899 MB / 274.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.007839, allocations: 91.69 kB / 274.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.00821, allocations: 283.4 kB / 274.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.008432, allocations: 159.5 kB / 274.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.008492, allocations: 40 kB / 274.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.008641, allocations: 71.91 kB / 274.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.008723, allocations: 91.66 kB / 274.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.008864, allocations: 151.6 kB / 275 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.009477, allocations: 350.8 kB / 275.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.009484, allocations: 0 / 275.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009485, allocations: 4 kB / 275.3 MB, free: 3.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009491, allocations: 0 / 275.3 MB, free: 3.625 MB / 250.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.0008714/0.01036, allocations: 0.7605 MB / 276.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.0104, allocations: 11.97 kB / 276.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.01049, allocations: 80.59 kB / 276.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.01077, allocations: 251.3 kB / 276.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.01079, allocations: 25.03 kB / 276.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.01083, allocations: 36.38 kB / 276.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.01119, allocations: 366.7 kB / 276.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.0112, allocations: 4.188 kB / 276.9 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.01122, allocations: 12.38 kB / 276.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01123, allocations: 11.94 kB / 276.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01136, allocations: 100.5 kB / 277 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01244, allocations: 1.011 MB / 278 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.01269, allocations: 180.1 kB / 278.2 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.0129, allocations: 148 kB / 278.3 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.01304, allocations: 64.17 kB / 278.4 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.01307, allocations: 41.62 kB / 278.4 MB, free: 368 kB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.472e-06/0.01307, allocations: 4 kB / 278.4 MB, free: 364 kB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005784/0.01365, allocations: 321.2 kB / 278.7 MB, free: 36 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.01369, allocations: 81.11 kB / 278.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01387, allocations: 330.1 kB / 279.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.01389, allocations: 37.7 kB / 279.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.014, allocations: 271 kB / 279.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.01405, allocations: 103.1 kB / 279.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.01412, allocations: 75.66 kB / 279.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.01424, allocations: 0.5234 MB / 280.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.01431, allocations: 40.72 kB / 280.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01442, allocations: 179.7 kB / 280.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.01459, allocations: 205.4 kB / 280.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01459, allocations: 4 kB / 280.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003271/0.01492, allocations: 304.5 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01493, allocations: 4 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01494, allocations: 4 kB / 280.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.01511, allocations: 75.56 kB / 280.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.01527, allocations: 71.91 kB / 281 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.01637, allocations: 2.224 MB / 283.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01648, allocations: 35.67 kB / 283.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.0165, allocations: 12 kB / 283.3 MB, free: 11.21 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 9.568e-05/0.01659, allocations: 176.5 kB / 283.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.01664, allocations: 35.81 kB / 283.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.0169, allocations: 237.1 kB / 283.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01691, allocations: 4 kB / 283.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.01691, allocations: 4.031 kB / 283.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01691, allocations: 0 / 283.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.0171, allocations: 229 kB / 283.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01711, allocations: 0 / 283.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.01726, allocations: 51.95 kB / 284 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.01737, allocations: 51.67 kB / 284 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01738, allocations: 7.984 kB / 284.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.01767, allocations: 0.8468 MB / 284.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01768, allocations: 0 / 284.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.01801, allocations: 419.9 kB / 285.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.01804, allocations: 35.73 kB / 285.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01806, allocations: 4 kB / 285.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.01818, allocations: 20.02 kB / 285.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01821, allocations: 27.89 kB / 285.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01822, allocations: 4 kB / 285.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.01832, allocations: 218.9 kB / 285.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01832, allocations: 0 / 285.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.01861, allocations: 123.7 kB / 285.7 MB, free: 8.637 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.000146/0.01875, allocations: 127.1 kB / 285.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.01911, allocations: 360.6 kB / 286.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01911, allocations: 0 / 286.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.01923, allocations: 107.5 kB / 286.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01945, allocations: 36.58 kB / 286.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.02034, allocations: 0.7288 MB / 287.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.0204, allocations: 100.6 kB / 287.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.814e-05/0.02049, allocations: 34.95 kB / 287.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.02061, allocations: 118.2 kB / 287.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02061, allocations: 0 / 287.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of Templates: time 0.006562/0.02718, allocations: 3.968 MB / 291.3 MB, free: 3.043 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8735268940217793]