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.001283/0.001283, allocations: 89.61 kB / 16.65 MB, free: 6.598 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.001694/0.001694, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.618/1.618, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002993, allocations: 8.438 kB / 301.4 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 50.42 MB / 351.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004575/0.132, allocations: 4.057 MB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1345, allocations: 1.176 MB / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.1349, allocations: 11.94 kB / 357.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.1354, allocations: 123.2 kB / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1358, allocations: 170.6 kB / 357.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.1363, allocations: 163.8 kB / 357.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.1371, allocations: 0.7162 MB / 358.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.1375, allocations: 235.4 kB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.1378, allocations: 238.9 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.1381, allocations: 282.5 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.1382, allocations: 36 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.1383, allocations: 32 kB / 359.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1384, allocations: 119.4 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.1387, allocations: 324 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.1394, allocations: 0.6889 MB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1394, allocations: 4 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1394, allocations: 0 / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1394, allocations: 0 / 360.2 MB, free: 11.05 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.001548/0.141, allocations: 0.8536 MB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.141, allocations: 8.031 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1412, allocations: 72.09 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1417, allocations: 397.9 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.1417, allocations: 49.67 kB / 361.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.1418, allocations: 52.38 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1428, allocations: 0.5614 MB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1429, allocations: 0 / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.1429, allocations: 24 kB / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.1429, allocations: 12 kB / 362.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.1439, allocations: 441 kB / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.147, allocations: 1.859 MB / 364.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.1479, allocations: 0.5287 MB / 365 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.1489, allocations: 433.1 kB / 365.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.149, allocations: 12.25 kB / 365.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005393/0.1495, allocations: 298.2 kB / 365.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.1495, allocations: 4 kB / 365.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0042/0.1537, allocations: 1.387 MB / 367.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.1539, allocations: 235.3 kB / 367.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.1544, allocations: 433.8 kB / 367.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1545, allocations: 33.7 kB / 367.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1547, allocations: 316 kB / 368.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1548, allocations: 134 kB / 368.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.1549, allocations: 49.69 kB / 368.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.155, allocations: 354.8 kB / 368.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.1554, allocations: 157 kB / 368.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.1559, allocations: 337.6 kB / 369.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.1567, allocations: 451.5 kB / 369.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1567, allocations: 0 / 369.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001824/0.1585, allocations: 0.8256 MB / 370.4 MB, free: 312 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.1586, allocations: 8 kB / 370.4 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1586, allocations: 7.938 kB / 370.4 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007395/0.1593, allocations: 212.8 kB / 370.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2107/0.37, allocations: 80.53 kB / 370.7 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.3757, allocations: 2.914 MB / 373.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.3765, allocations: 89.64 kB / 373.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.3765, allocations: 18.42 kB / 373.7 MB, free: 22.93 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.0003602/0.3769, allocations: 182.5 kB / 373.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.377, allocations: 54 kB / 374 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.3772, allocations: 54.88 kB / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3772, allocations: 8.062 kB / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3772, allocations: 0 / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3772, allocations: 2.297 kB / 374 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.3798, allocations: 1.305 MB / 375.3 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3799, allocations: 1.922 kB / 375.3 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3801, allocations: 37.45 kB / 375.4 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006812/0.3807, allocations: 222.2 kB / 375.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3808, allocations: 11.78 kB / 375.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.385, allocations: 2.833 MB / 378.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.385, allocations: 0 / 378.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.3873, allocations: 0.9823 MB / 379.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3875, allocations: 128.4 kB / 379.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.3875, allocations: 11.3 kB / 379.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.3879, allocations: 50.41 kB / 379.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3881, allocations: 30.77 kB / 379.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3881, allocations: 13.2 kB / 379.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.3886, allocations: 301.5 kB / 379.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 379.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008546/0.3895, allocations: 186.1 kB / 380.1 MB, free: 19.69 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.0002013/0.3897, allocations: 114.6 kB / 380.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.3915, allocations: 0.6916 MB / 380.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3915, allocations: 1.906 kB / 380.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.3923, allocations: 428.9 kB / 381.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.3929, allocations: 78.03 kB / 381.4 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3947, allocations: 1.173 MB / 382.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.3952, allocations: 0.8617 MB / 383.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.3955, allocations: 44.92 kB / 383.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.3956, allocations: 29.62 kB / 383.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3956, allocations: 1.125 kB / 383.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01696/0.4126, allocations: 6.944 MB / 390.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/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