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.001333/0.001333, allocations: 112.1 kB / 17.29 MB, free: 6.219 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.001242/0.001242, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.342/1.342, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 51.31 kB / 300.8 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08903, allocations: 49.44 MB / 350.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00505/0.09411, allocations: 4.474 MB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.09604, allocations: 1.184 MB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.09629, allocations: 12 kB / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.09671, allocations: 131.1 kB / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.09706, allocations: 158.7 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.09743, allocations: 175.8 kB / 356.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.0981, allocations: 0.7514 MB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.09849, allocations: 266.5 kB / 357.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.09881, allocations: 290.9 kB / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.09913, allocations: 322.5 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.09923, allocations: 64 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.09933, allocations: 67.94 kB / 358.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.09945, allocations: 151.4 kB / 358.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.09972, allocations: 342.3 kB / 358.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.1002, allocations: 0.5691 MB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1002, allocations: 0 / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1002, allocations: 0 / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1003, allocations: 0 / 359.2 MB, free: 11.82 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.001581/0.1018, allocations: 0.9586 MB / 360.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1019, allocations: 11.89 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.102, allocations: 72.09 kB / 360.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.1025, allocations: 401.9 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.1025, allocations: 41.69 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.1026, allocations: 52.38 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.1035, allocations: 0.5535 MB / 361.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1036, allocations: 0 / 361.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1036, allocations: 28 kB / 361.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1036, allocations: 12 kB / 361.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.1045, allocations: 417 kB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.1073, allocations: 1.832 MB / 363.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.108, allocations: 0.5325 MB / 364 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/0.1089, allocations: 429 kB / 364.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.109, allocations: 12.27 kB / 364.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005243/0.1095, allocations: 302.2 kB / 364.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.804e-06/0.1095, allocations: 0 / 364.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003837/0.1134, allocations: 1.306 MB / 366.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.1135, allocations: 239.3 kB / 366.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.114, allocations: 433.8 kB / 366.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.114, allocations: 29.7 kB / 366.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1142, allocations: 308.1 kB / 367.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1143, allocations: 138 kB / 367.2 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1145, allocations: 98.19 kB / 367.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1146, allocations: 358.8 kB / 367.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.115, allocations: 145 kB / 367.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.1154, allocations: 321.7 kB / 368.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.1161, allocations: 443.4 kB / 368.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1161, allocations: 0 / 368.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001699/0.1178, allocations: 0.7867 MB / 369.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1179, allocations: 10.81 kB / 369.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1179, allocations: 12.05 kB / 369.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/0.1186, allocations: 216.7 kB / 369.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1188, allocations: 75.78 kB / 369.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1522/0.2711, allocations: 3.124 MB / 372.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.2716, allocations: 85.56 kB / 372.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.2717, allocations: 18.92 kB / 372.9 MB, free: 24.14 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.0002289/0.2719, allocations: 183.2 kB / 373 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.272, allocations: 50.41 kB / 373.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.2721, allocations: 54.38 kB / 373.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2721, allocations: 4.281 kB / 373.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2721, allocations: 5.141 kB / 373.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2721, allocations: 1.922 kB / 373.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.2743, allocations: 1.273 MB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2743, allocations: 1.156 kB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.2745, allocations: 35.52 kB / 374.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005951/0.2751, allocations: 220.8 kB / 374.7 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2752, allocations: 6.953 kB / 374.7 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.2789, allocations: 3.057 MB / 377.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2789, allocations: 6.062 kB / 377.7 MB, free: 21.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.2808, allocations: 0.9343 MB / 378.7 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.2809, allocations: 128.6 kB / 378.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.2809, allocations: 11.5 kB / 378.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.2813, allocations: 40.05 kB / 378.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.2814, allocations: 38.05 kB / 378.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.2814, allocations: 12.81 kB / 378.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.2818, allocations: 301.8 kB / 379.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2818, allocations: 0 / 379.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006799/0.2825, allocations: 190.4 kB / 379.4 MB, free: 20.43 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.0001292/0.2826, allocations: 122.2 kB / 379.5 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.2842, allocations: 0.6714 MB / 380.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2842, allocations: 1 kB / 380.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.2849, allocations: 427 kB / 380.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.2854, allocations: 71.53 kB / 380.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.2872, allocations: 1.187 MB / 381.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2875, allocations: 0.8612 MB / 382.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.2876, allocations: 40.78 kB / 382.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2876, allocations: 0 / 382.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.2984, allocations: 8.293 MB / 391 MB, free: 15.28 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/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