Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001876/0.001876, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002341/0.002341, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.585/1.585, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.89 kB / 378.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2857, allocations: 53.41 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004361/0.29, allocations: 2.766 MB / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2915, allocations: 0.7168 MB / 435.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2917, allocations: 4 kB / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2919, allocations: 55.44 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.2921, allocations: 103.2 kB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.2924, allocations: 111.8 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.2929, allocations: 410.4 kB / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.2931, allocations: 91.31 kB / 435.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2933, allocations: 159.4 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.2936, allocations: 151.2 kB / 436.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.2936, allocations: 44 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.2937, allocations: 40 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.2938, allocations: 87.67 kB / 436.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2939, allocations: 143.4 kB / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.2945, allocations: 468.8 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2945, allocations: 3.938 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2945, allocations: 0 / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2945, allocations: 4 kB / 437 MB, free: 1.152 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00124/0.2957, allocations: 0.5975 MB / 437.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2958, allocations: 15.97 kB / 437.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.2958, allocations: 36.75 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.2963, allocations: 245.9 kB / 437.9 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.2963, allocations: 21.03 kB / 437.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.2964, allocations: 32.31 kB / 437.9 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2971, allocations: 367.5 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2971, allocations: 0 / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.2971, allocations: 8 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2972, allocations: 8 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.2978, allocations: 266.5 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.2996, allocations: 0.9168 MB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.3003, allocations: 210.6 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.3005, allocations: 88.8 kB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3006, allocations: 4 kB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.301, allocations: 254.9 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.301, allocations: 0 / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001689/0.3027, allocations: 453.9 kB / 440.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.3028, allocations: 136.5 kB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3032, allocations: 277.8 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3032, allocations: 29.64 kB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3033, allocations: 208 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3034, allocations: 59.52 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.3035, allocations: 53.7 kB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3036, allocations: 334.8 kB / 441.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.304, allocations: 125.6 kB / 441.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.3044, allocations: 307.5 kB / 442 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.3051, allocations: 294.6 kB / 442.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3051, allocations: 4 kB / 442.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001061/0.3062, allocations: 441.6 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.3062, allocations: 37.69 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3062, allocations: 4 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.3067, allocations: 76.73 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3069, allocations: 51.89 kB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.3098, allocations: 1.838 MB / 444.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.3102, allocations: 63.73 kB / 444.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3102, allocations: 12 kB / 444.8 MB, free: 8.844 MB / 350.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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.3104, allocations: 153.1 kB / 444.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3104, allocations: 23.86 kB / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.3105, allocations: 34.17 kB / 445 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3105, allocations: 0 / 445 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3105, allocations: 4 kB / 445 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3105, allocations: 0 / 445 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3108, allocations: 229.1 kB / 445.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3108, allocations: 0 / 445.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3109, allocations: 23.91 kB / 445.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.3112, allocations: 80.78 kB / 445.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3112, allocations: 4 kB / 445.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.3134, allocations: 1.826 MB / 447.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3134, allocations: 0 / 447.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.3142, allocations: 320.5 kB / 447.4 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.3143, allocations: 27.78 kB / 447.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3143, allocations: 15.92 kB / 447.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3145, allocations: 23.97 kB / 447.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.3146, allocations: 31.89 kB / 447.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3146, allocations: 4 kB / 447.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.3149, allocations: 193.2 kB / 447.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3149, allocations: 4 kB / 447.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.3153, allocations: 87.83 kB / 447.8 MB, free: 5.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.3155, allocations: 102.5 kB / 447.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.3164, allocations: 443.6 kB / 448.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3164, allocations: 0 / 448.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.3169, allocations: 238.5 kB / 448.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3172, allocations: 51.5 kB / 448.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3193, allocations: 0.5977 MB / 449.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.3195, allocations: 151.5 kB / 449.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3196, allocations: 26.28 kB / 449.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3196, allocations: 19.44 kB / 449.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3196, allocations: 0 / 449.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Templates: time 0.009699/0.3293, allocations: 4.659 MB / 454.1 MB, free: 15.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.811829254031181]