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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.78 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08588, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003878/0.0898, allocations: 2.946 MB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.09092, allocations: 0.7596 MB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.09105, allocations: 7.938 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.09121, allocations: 55.5 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.0914, allocations: 95.17 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.09167, allocations: 115.8 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.09209, allocations: 422.4 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.09232, allocations: 131.2 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.0925, allocations: 151.5 kB / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.0927, allocations: 171.2 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.09276, allocations: 44 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.09282, allocations: 40 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.0929, allocations: 79.69 kB / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.09306, allocations: 175.2 kB / 364.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.09344, allocations: 462.4 kB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09346, allocations: 4 kB / 364.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.09346, allocations: 3.938 kB / 364.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.09347, allocations: 0 / 364.5 MB, free: 7.652 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0012/0.09468, allocations: 0.6691 MB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.09472, allocations: 12.02 kB / 365.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.09479, allocations: 36.56 kB / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.09515, allocations: 295.6 kB / 365.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.09518, allocations: 20.92 kB / 365.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.09522, allocations: 28.31 kB / 365.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.0959, allocations: 331.9 kB / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.09592, allocations: 0 / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.09596, allocations: 12 kB / 365.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.09597, allocations: 8 kB / 365.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.09674, allocations: 282 kB / 366.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.09846, allocations: 1.143 MB / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.09925, allocations: 258.5 kB / 367.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.09958, allocations: 104.9 kB / 367.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.09961, allocations: 4 kB / 367.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.1001, allocations: 185.8 kB / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1001, allocations: 0 / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002206/0.1023, allocations: 0.6702 MB / 368.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1023, allocations: 106.8 kB / 368.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1026, allocations: 286.6 kB / 369 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1027, allocations: 33.7 kB / 369 MB, free: 2.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1028, allocations: 203.5 kB / 369.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1028, allocations: 39.45 kB / 369.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.1029, allocations: 53.84 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.103, allocations: 334.8 kB / 369.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.1034, allocations: 112.1 kB / 369.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.1038, allocations: 206.9 kB / 369.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.1045, allocations: 319.2 kB / 370.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1045, allocations: 0 / 370.2 MB, free: 1.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001167/0.1056, allocations: 479.7 kB / 370.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.1057, allocations: 33.7 kB / 370.7 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1057, allocations: 4 kB / 370.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.1061, allocations: 88.86 kB / 370.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1063, allocations: 47.89 kB / 370.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1454/0.2517, allocations: 2.058 MB / 372.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.2521, allocations: 57.84 kB / 373 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.2522, allocations: 13.81 kB / 373 MB, free: 18.94 MB / 302.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.0001403/0.2523, allocations: 155.4 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.2523, allocations: 27.27 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.2524, allocations: 27.69 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2524, allocations: 2.906 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2524, allocations: 1.844 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2524, allocations: 2.062 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2527, allocations: 325.8 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2527, allocations: 1 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2528, allocations: 22.42 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.2531, allocations: 83.45 kB / 373.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2531, allocations: 9.328 kB / 373.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.2551, allocations: 1.982 MB / 375.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2552, allocations: 0 / 375.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/0.2561, allocations: 370.8 kB / 376 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2562, allocations: 102.5 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.2562, allocations: 6.547 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2565, allocations: 36.66 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.2566, allocations: 24.25 kB / 376.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2566, allocations: 4.125 kB / 376.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.2567, allocations: 206.9 kB / 376.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2568, allocations: 0 / 376.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2572, allocations: 78.69 kB / 376.4 MB, free: 16.88 MB / 302.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.000105/0.2573, allocations: 111 kB / 376.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.2585, allocations: 0.4907 MB / 377 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2585, allocations: 0 / 377 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.259, allocations: 237.8 kB / 377.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2593, allocations: 44.78 kB / 377.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.2621, allocations: 0.9291 MB / 378.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2622, allocations: 0.7567 MB / 379 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.2623, allocations: 24.36 kB / 379 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.2624, allocations: 21.34 kB / 379 MB, free: 15.44 MB / 302.1 MB Notification: Performance of SimCode: time 9.107e-06/0.2624, allocations: 0 / 379 MB, free: 15.44 MB / 302.1 MB Notification: Performance of Templates: time 0.2415/0.504, allocations: 4.122 MB / 383.2 MB, free: 15.18 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches