Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.00185, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002602/0.002602, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 50.8 kB / 300.6 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1063, allocations: 49.44 MB / 350.1 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004592/0.1109, allocations: 2.929 MB / 353 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1129, allocations: 0.7324 MB / 353.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1132, allocations: 4 kB / 353.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1135, allocations: 51.5 kB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1137, allocations: 99.17 kB / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1141, allocations: 111.8 kB / 354 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1146, allocations: 422.4 kB / 354.4 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1149, allocations: 135.2 kB / 354.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1151, allocations: 151.4 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1154, allocations: 167.3 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.1154, allocations: 40 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.1155, allocations: 47.94 kB / 354.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.1156, allocations: 75.7 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1157, allocations: 187.1 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1162, allocations: 454.7 kB / 355.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1162, allocations: 0 / 355.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1162, allocations: 0 / 355.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1162, allocations: 0 / 355.6 MB, free: 14.77 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.001316/0.1175, allocations: 0.673 MB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1176, allocations: 11.89 kB / 356.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.1176, allocations: 32.56 kB / 356.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.118, allocations: 299.6 kB / 356.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.118, allocations: 20.94 kB / 356.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.1181, allocations: 24.36 kB / 356.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.1188, allocations: 332 kB / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1188, allocations: 0 / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.1189, allocations: 4 kB / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1189, allocations: 8 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.1197, allocations: 290 kB / 357.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.1216, allocations: 1.154 MB / 358.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/0.1224, allocations: 242.6 kB / 358.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.1228, allocations: 112.8 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1229, allocations: 3.938 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.1234, allocations: 184 kB / 359 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1234, allocations: 0 / 359 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002379/0.1258, allocations: 0.6667 MB / 359.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.1259, allocations: 110.8 kB / 359.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.1262, allocations: 286.5 kB / 360 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1262, allocations: 33.7 kB / 360.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1263, allocations: 199.6 kB / 360.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1264, allocations: 47.44 kB / 360.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.1265, allocations: 49.84 kB / 360.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1266, allocations: 334.8 kB / 360.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.127, allocations: 104.2 kB / 360.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1274, allocations: 221.7 kB / 361 MB, free: 9.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.1281, allocations: 316.6 kB / 361.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1282, allocations: 0 / 361.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001284/0.1294, allocations: 479.7 kB / 361.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.1295, allocations: 33.69 kB / 361.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1295, allocations: 4 kB / 361.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.1299, allocations: 88.84 kB / 361.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.1302, allocations: 51.91 kB / 362 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.1333, allocations: 2.06 MB / 364 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.1337, allocations: 59.75 kB / 364.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1338, allocations: 16 kB / 364.1 MB, free: 5.734 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.0002025/0.134, allocations: 149.7 kB / 364.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1341, allocations: 23.94 kB / 364.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1341, allocations: 25.83 kB / 364.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1341, allocations: 7.938 kB / 364.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1341, allocations: 4 kB / 364.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1341, allocations: 3.984 kB / 364.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1345, allocations: 333.2 kB / 364.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1345, allocations: 0 / 364.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1347, allocations: 19.97 kB / 364.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.135, allocations: 92.83 kB / 364.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.135, allocations: 0 / 364.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.1376, allocations: 1.97 MB / 366.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1376, allocations: 8 kB / 366.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1387, allocations: 364.8 kB / 367.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.1388, allocations: 108.8 kB / 367.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1389, allocations: 4 kB / 367.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.1392, allocations: 35.91 kB / 367.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.1393, allocations: 23.97 kB / 367.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1393, allocations: 4 kB / 367.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1396, allocations: 198 kB / 367.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1396, allocations: 0 / 367.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.14, allocations: 83.78 kB / 367.5 MB, free: 2.07 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.0001952/0.1402, allocations: 107.2 kB / 367.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.1417, allocations: 0.4983 MB / 368.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1418, allocations: 4.062 kB / 368.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.1423, allocations: 234.6 kB / 368.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.1428, allocations: 53.72 kB / 368.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.1464, allocations: 0.9332 MB / 369.3 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.206/0.3525, allocations: 0.7528 MB / 370.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.3527, allocations: 29.17 kB / 370.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.3528, allocations: 21.12 kB / 370.1 MB, free: 24.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3528, allocations: 0.5938 kB / 370.1 MB, free: 24.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01058/0.3634, allocations: 4.079 MB / 374.2 MB, free: 24.75 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches