Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.83 kB / 369 MB, free: 6.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 53.31 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004456/0.2843, allocations: 2.968 MB / 425.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2857, allocations: 0.7596 MB / 426 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2858, allocations: 7.938 kB / 426 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.286, allocations: 43.58 kB / 426.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2862, allocations: 111.1 kB / 426.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2865, allocations: 115.8 kB / 426.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.2869, allocations: 414.5 kB / 426.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2871, allocations: 99.25 kB / 426.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2873, allocations: 159.4 kB / 427 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2876, allocations: 167.2 kB / 427.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.2876, allocations: 44 kB / 427.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.2877, allocations: 40 kB / 427.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.2878, allocations: 79.75 kB / 427.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.288, allocations: 171.2 kB / 427.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.2885, allocations: 457.8 kB / 427.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2885, allocations: 0 / 427.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2885, allocations: 0 / 427.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2885, allocations: 4 kB / 427.9 MB, free: 2.207 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001375/0.2899, allocations: 0.6806 MB / 428.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2899, allocations: 8.031 kB / 428.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.29, allocations: 36.7 kB / 428.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2904, allocations: 311.7 kB / 428.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2904, allocations: 16.94 kB / 428.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2905, allocations: 24.31 kB / 429 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.2912, allocations: 339.9 kB / 429.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2913, allocations: 0 / 429.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.2913, allocations: 8 kB / 429.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2913, allocations: 8 kB / 429.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/0.2921, allocations: 282.1 kB / 429.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.2941, allocations: 1.143 MB / 430.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.295, allocations: 246.5 kB / 431 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.2953, allocations: 100.8 kB / 431.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2954, allocations: 4 kB / 431.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.2959, allocations: 181.2 kB / 431.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.2959, allocations: 0 / 431.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002453/0.2983, allocations: 0.6747 MB / 431.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.2984, allocations: 106.8 kB / 432 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.2987, allocations: 286.6 kB / 432.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.2988, allocations: 29.7 kB / 432.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2989, allocations: 200 kB / 432.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.299, allocations: 55.56 kB / 432.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2991, allocations: 49.89 kB / 432.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2993, allocations: 338.8 kB / 433 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.2996, allocations: 100.2 kB / 433.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.3001, allocations: 217.5 kB / 433.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.3008, allocations: 320.6 kB / 433.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3008, allocations: 7.922 kB / 433.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00128/0.3021, allocations: 478.5 kB / 434.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.3022, allocations: 33.7 kB / 434.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.828e-05/0.3022, allocations: 4 kB / 434.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.3026, allocations: 88.86 kB / 434.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3028, allocations: 51.89 kB / 434.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.3059, allocations: 2.064 MB / 436.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3063, allocations: 55.8 kB / 436.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3063, allocations: 16.06 kB / 436.4 MB, free: 9.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.3065, allocations: 159.2 kB / 436.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.3066, allocations: 23.89 kB / 436.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.3066, allocations: 29.83 kB / 436.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3066, allocations: 0 / 436.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3066, allocations: 4 kB / 436.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3066, allocations: 0 / 436.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.307, allocations: 321.3 kB / 436.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.307, allocations: 4 kB / 436.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3072, allocations: 31.91 kB / 436.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.3074, allocations: 76.8 kB / 437 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3075, allocations: 8.062 kB / 437 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.3103, allocations: 1.979 MB / 439 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3103, allocations: 0 / 439 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3114, allocations: 373.6 kB / 439.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.3115, allocations: 104.9 kB / 439.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3115, allocations: 4 kB / 439.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3118, allocations: 35.91 kB / 439.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.3118, allocations: 15.97 kB / 439.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3119, allocations: 4 kB / 439.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.3121, allocations: 210 kB / 439.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3121, allocations: 0 / 439.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.3125, allocations: 75.89 kB / 439.8 MB, free: 5.496 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.3127, allocations: 107.3 kB / 439.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3141, allocations: 0.4968 MB / 440.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3141, allocations: 0 / 440.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.3146, allocations: 234.7 kB / 440.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3149, allocations: 48.66 kB / 440.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3181, allocations: 0.9365 MB / 441.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3185, allocations: 0.7558 MB / 442.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3186, allocations: 22.3 kB / 442.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3187, allocations: 23.44 kB / 442.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3187, allocations: 0 / 442.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.009199/0.3279, allocations: 4.242 MB / 446.7 MB, free: 14.58 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches