Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001317/0.001317, allocations: 192 kB / 18.63 MB, free: 4.375 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.493/1.493, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.36 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.007527/0.1428, allocations: 4.437 MB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.1464, allocations: 1.215 MB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008039/0.1473, allocations: 8 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.1481, allocations: 146.8 kB / 357.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.1492, allocations: 194.2 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.1499, allocations: 203.5 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1514, allocations: 0.7514 MB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.152, allocations: 274.5 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.1528, allocations: 286.9 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.1533, allocations: 322.5 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1534, allocations: 64 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1535, allocations: 64 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1537, allocations: 147.4 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.1541, allocations: 346.2 kB / 359.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.1549, allocations: 0.7473 MB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.155, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.155, allocations: 4 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.155, allocations: 0 / 360.7 MB, free: 10.47 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00189/0.1569, allocations: 0.9509 MB / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1569, allocations: 11.89 kB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1571, allocations: 76.09 kB / 361.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.1577, allocations: 413.9 kB / 362.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.1577, allocations: 37.69 kB / 362.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.1578, allocations: 56.38 kB / 362.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.1588, allocations: 0.5536 MB / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1589, allocations: 0 / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.1589, allocations: 23.94 kB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1589, allocations: 12 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.1598, allocations: 417 kB / 363.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.1628, allocations: 1.828 MB / 365 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.1636, allocations: 0.5328 MB / 365.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.1645, allocations: 425.1 kB / 366 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.1646, allocations: 8.266 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.1651, allocations: 297.9 kB / 366.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.964e-06/0.1651, allocations: 0 / 366.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004028/0.1692, allocations: 1.306 MB / 367.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.1694, allocations: 239.3 kB / 367.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.1699, allocations: 429.8 kB / 368.2 MB, free: 2.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.17, allocations: 41.7 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.1703, allocations: 304.1 kB / 368.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1704, allocations: 138 kB / 368.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1706, allocations: 90.25 kB / 368.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1707, allocations: 354.8 kB / 369.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1711, allocations: 153 kB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.1716, allocations: 321.7 kB / 369.6 MB, free: 1.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.1724, allocations: 447.4 kB / 370.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.1724, allocations: 7.938 kB / 370.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.2819/0.4543, allocations: 0.7849 MB / 370.8 MB, free: 25.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.4544, allocations: 7.375 kB / 370.9 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4544, allocations: 4.688 kB / 370.9 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.4556, allocations: 217.8 kB / 371.1 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.4561, allocations: 71.61 kB / 371.1 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.4631, allocations: 3.119 MB / 374.3 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.464, allocations: 75.78 kB / 374.3 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.464, allocations: 22.7 kB / 374.4 MB, free: 23.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.4644, allocations: 189.1 kB / 374.5 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4645, allocations: 49.64 kB / 374.6 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.4647, allocations: 54.31 kB / 374.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4647, allocations: 3.844 kB / 374.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4647, allocations: 0 / 374.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.4647, allocations: 4.156 kB / 374.7 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.4682, allocations: 1.277 MB / 375.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4683, allocations: 5.531 kB / 375.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4685, allocations: 31.55 kB / 376 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009164/0.4694, allocations: 219.2 kB / 376.2 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.4695, allocations: 7.688 kB / 376.2 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/0.475, allocations: 3.058 MB / 379.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.475, allocations: 1.219 kB / 379.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.4778, allocations: 0.9388 MB / 380.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.478, allocations: 126.5 kB / 380.3 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4781, allocations: 10.86 kB / 380.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.4786, allocations: 46.17 kB / 380.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4788, allocations: 32.5 kB / 380.4 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.4788, allocations: 19.91 kB / 380.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.4794, allocations: 297.2 kB / 380.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4794, allocations: 0 / 380.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4805, allocations: 191.3 kB / 380.9 MB, free: 19.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/0.4807, allocations: 110.9 kB / 381 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.4831, allocations: 0.6731 MB / 381.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.4831, allocations: 1.156 kB / 381.7 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.4842, allocations: 417.1 kB / 382.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.4849, allocations: 78.08 kB / 382.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.4868, allocations: 0.9155 MB / 383.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.4873, allocations: 0.8654 MB / 383.9 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.4875, allocations: 46.8 kB / 384 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.4876, allocations: 29.75 kB / 384 MB, free: 18.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4876, allocations: 1.469 kB / 384 MB, free: 18.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01596/0.5036, allocations: 7.517 MB / 391.5 MB, free: 15.47 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches