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.001502/0.001501, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001731, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 64.56 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.134, allocations: 50.55 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005105/0.1391, allocations: 2.942 MB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1408, allocations: 0.7674 MB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1411, allocations: 8 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1413, allocations: 47.5 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1415, allocations: 103.1 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1419, allocations: 111.9 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.1424, allocations: 418.4 kB / 361.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1427, allocations: 123.2 kB / 362 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.1429, allocations: 163.3 kB / 362.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1431, allocations: 179.2 kB / 362.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.626e-05/0.1432, allocations: 40 kB / 362.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.1433, allocations: 40 kB / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.1434, allocations: 75.77 kB / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1436, allocations: 175.2 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.1441, allocations: 450.7 kB / 363.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1442, allocations: 3.984 kB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1442, allocations: 0 / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1442, allocations: 0 / 363.2 MB, free: 8.379 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.001536/0.1457, allocations: 0.677 MB / 363.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1458, allocations: 8.031 kB / 363.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.1459, allocations: 36.56 kB / 363.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.1463, allocations: 303.5 kB / 364.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1463, allocations: 16.94 kB / 364.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1464, allocations: 24.38 kB / 364.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.1472, allocations: 328 kB / 364.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1472, allocations: 3.938 kB / 364.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1472, allocations: 12 kB / 364.5 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1473, allocations: 4 kB / 364.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.1481, allocations: 290 kB / 364.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1503, allocations: 1.143 MB / 366 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1513, allocations: 258.5 kB / 366.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.1517, allocations: 100.8 kB / 366.3 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1517, allocations: 4 kB / 366.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.1523, allocations: 177.9 kB / 366.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.1523, allocations: 3.938 kB / 366.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00269/0.155, allocations: 0.6703 MB / 367.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1551, allocations: 110.8 kB / 367.3 MB, free: 3.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.1556, allocations: 286.6 kB / 367.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1556, allocations: 29.69 kB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1558, allocations: 207.5 kB / 367.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.1559, allocations: 39.45 kB / 367.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.156, allocations: 57.84 kB / 367.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1561, allocations: 330.8 kB / 368.2 MB, free: 3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.1566, allocations: 112.1 kB / 368.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.1571, allocations: 206.8 kB / 368.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.158, allocations: 328.1 kB / 368.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.158, allocations: 0 / 368.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00135/0.1594, allocations: 483.6 kB / 369.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.1594, allocations: 37.7 kB / 369.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1595, allocations: 3.984 kB / 369.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.1599, allocations: 84.88 kB / 369.4 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.1601, allocations: 51.89 kB / 369.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1566/0.3167, allocations: 2.06 MB / 371.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.3172, allocations: 51.27 kB / 371.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.3173, allocations: 13.17 kB / 371.6 MB, free: 18.92 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.0001944/0.3175, allocations: 151.4 kB / 371.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.3175, allocations: 26.69 kB / 371.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.3176, allocations: 26.16 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3176, allocations: 2.562 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3176, allocations: 1.688 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3176, allocations: 0.5156 kB / 371.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.3179, allocations: 327.8 kB / 372.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.318, allocations: 5.656 kB / 372.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3181, allocations: 25.23 kB / 372.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.3184, allocations: 83.45 kB / 372.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.3185, allocations: 6.25 kB / 372.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.3211, allocations: 1.976 MB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3211, allocations: 1.344 kB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3223, allocations: 375.9 kB / 374.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.3224, allocations: 101.9 kB / 374.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.3224, allocations: 5.375 kB / 374.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.3227, allocations: 29.7 kB / 374.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.3228, allocations: 18.39 kB / 374.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3228, allocations: 3.062 kB / 374.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.323, allocations: 209.6 kB / 375 MB, free: 16.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3231, allocations: 0.5 kB / 375 MB, free: 16.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.3236, allocations: 80.95 kB / 375 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.000137/0.3237, allocations: 106.6 kB / 375.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.3252, allocations: 0.4938 MB / 375.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3252, allocations: 5.25 kB / 375.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.3258, allocations: 234.1 kB / 375.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3262, allocations: 54.61 kB / 375.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3296, allocations: 0.9413 MB / 376.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.33, allocations: 0.7561 MB / 377.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.3301, allocations: 28.73 kB / 377.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.3302, allocations: 20.33 kB / 377.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3302, allocations: 0 / 377.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Templates: time 0.01007/0.3403, allocations: 4.118 MB / 381.8 MB, free: 15.27 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 -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/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) Reference file matches