Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001462/0.001462, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 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.00171/0.00171, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 325.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.114e-05, allocations: 2.281 kB / 325.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005903/0.005934, allocations: 4.063 MB / 329.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.009055, allocations: 1.228 MB / 330.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.009419, allocations: 22.59 kB / 330.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.00994, allocations: 135.9 kB / 330.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.01049, allocations: 213 kB / 330.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.01115, allocations: 224.1 kB / 331 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01216, allocations: 0.8027 MB / 331.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.01253, allocations: 177.7 kB / 332 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.01322, allocations: 446.8 kB / 332.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.01362, allocations: 240.5 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.01373, allocations: 64.62 kB / 332.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01389, allocations: 71.67 kB / 332.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.01407, allocations: 140.4 kB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.01441, allocations: 248.7 kB / 333.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01549, allocations: 0.7697 MB / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.0155, allocations: 1.188 kB / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0155, allocations: 0 / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.01551, allocations: 0 / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002029/0.01754, allocations: 0.9454 MB / 334.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01757, allocations: 17.78 kB / 334.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.01791, allocations: 100.4 kB / 335 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.01855, allocations: 354.4 kB / 335.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.01859, allocations: 39.03 kB / 335.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.0187, allocations: 55.91 kB / 335.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.01991, allocations: 0.7294 MB / 336.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.01994, allocations: 4.125 kB / 336.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.02, allocations: 26.16 kB / 336.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.02001, allocations: 16.88 kB / 336.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.02097, allocations: 418.2 kB / 336.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.02412, allocations: 1.558 MB / 338.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.02497, allocations: 351.3 kB / 338.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.02617, allocations: 422.8 kB / 338.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.02621, allocations: 4.328 kB / 338.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007459/0.02695, allocations: 478.1 kB / 339.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.02696, allocations: 3.938 kB / 339.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003848/0.0308, allocations: 1.098 MB / 340.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.03095, allocations: 243.3 kB / 340.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.03147, allocations: 425.8 kB / 341.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.03152, allocations: 33.7 kB / 341.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.03179, allocations: 320.7 kB / 341.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.03191, allocations: 146.8 kB / 341.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.03208, allocations: 94.14 kB / 341.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.03227, allocations: 350.8 kB / 342.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.03265, allocations: 148.9 kB / 342.2 MB, free: 3.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.03329, allocations: 0.4969 MB / 342.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.03415, allocations: 439.2 kB / 343.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.03416, allocations: 11.94 kB / 343.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001904/0.03606, allocations: 0.7519 MB / 343.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.03609, allocations: 8 kB / 343.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03609, allocations: 4 kB / 343.9 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/0.0368, allocations: 176.8 kB / 344.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.03716, allocations: 83.89 kB / 344.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.04178, allocations: 2.627 MB / 346.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.04229, allocations: 83.62 kB / 346.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.04233, allocations: 20 kB / 346.9 MB, free: 14.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.0426, allocations: 185.6 kB / 347.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.04268, allocations: 55.67 kB / 347.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.04279, allocations: 52.8 kB / 347.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.04279, allocations: 4 kB / 347.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.04279, allocations: 4 kB / 347.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.0428, allocations: 48 / 347.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.04518, allocations: 1.098 MB / 348.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.04518, allocations: 0 / 348.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.04542, allocations: 51.84 kB / 348.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005693/0.04599, allocations: 180.7 kB / 348.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.04603, allocations: 12 kB / 348.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/0.05038, allocations: 2.612 MB / 351.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.05038, allocations: 3.938 kB / 351.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.05247, allocations: 0.8948 MB / 352 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.05257, allocations: 59.56 kB / 352.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.05263, allocations: 11.98 kB / 352.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.05302, allocations: 48.03 kB / 352.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.05312, allocations: 27.94 kB / 352.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.05314, allocations: 8 kB / 352.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003456/0.05349, allocations: 295.1 kB / 352.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05349, allocations: 0 / 352.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.05416, allocations: 179.7 kB / 352.7 MB, free: 8.719 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.05433, allocations: 119.1 kB / 352.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.05557, allocations: 0.5573 MB / 353.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.05558, allocations: 0 / 353.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.05628, allocations: 374.1 kB / 353.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.05678, allocations: 74.06 kB / 353.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.05847, allocations: 0.9118 MB / 354.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.05873, allocations: 259.6 kB / 354.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.0589, allocations: 48.16 kB / 355 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.05899, allocations: 32.5 kB / 355 MB, free: 6.262 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.05899, allocations: 3.938 kB / 355 MB, free: 6.258 MB / 318.1 MB Notification: Performance of Templates: time 0.01435/0.07334, allocations: 6.664 MB / 361.7 MB, free: 15.71 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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: 4.593550227582455]