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.001936/0.001937, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.002249/0.00225, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.181/2.181, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001752, allocations: 42.38 kB / 300.6 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 49.46 MB / 350.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.008056/0.1759, allocations: 4.467 MB / 354.5 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1792, allocations: 1.192 MB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1803, allocations: 11.94 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.1813, allocations: 119.2 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1823, allocations: 166.7 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.1831, allocations: 171.8 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.1846, allocations: 0.724 MB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.1852, allocations: 235.4 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.1859, allocations: 262.9 kB / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.1867, allocations: 314.5 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.1869, allocations: 47.94 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.1871, allocations: 44 kB / 357.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1873, allocations: 123.5 kB / 357.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.1879, allocations: 318.3 kB / 358.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.1886, allocations: 0.5496 MB / 358.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1886, allocations: 0 / 358.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1886, allocations: 4 kB / 358.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.1887, allocations: 0 / 358.8 MB, free: 12.06 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.002852/0.1915, allocations: 0.9626 MB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.1916, allocations: 8.031 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.1919, allocations: 76.09 kB / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.1928, allocations: 393.9 kB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.1929, allocations: 45.69 kB / 360.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.193, allocations: 52.38 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1944, allocations: 0.5613 MB / 360.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.1945, allocations: 0 / 360.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.1946, allocations: 24 kB / 360.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.1946, allocations: 16 kB / 360.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1958, allocations: 421 kB / 361.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.2002, allocations: 1.824 MB / 363.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.2012, allocations: 0.5255 MB / 363.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.2022, allocations: 433 kB / 364.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.2023, allocations: 16.2 kB / 364.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000661/0.203, allocations: 298.2 kB / 364.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.176e-06/0.203, allocations: 0 / 364.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004481/0.2075, allocations: 1.313 MB / 365.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.2077, allocations: 243.3 kB / 365.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.2083, allocations: 425.8 kB / 366.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.2084, allocations: 37.7 kB / 366.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.2087, allocations: 304.1 kB / 366.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.2089, allocations: 138 kB / 366.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.2091, allocations: 86.25 kB / 366.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.2094, allocations: 362.8 kB / 367.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.2098, allocations: 149 kB / 367.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.2103, allocations: 325.6 kB / 367.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.2112, allocations: 435.5 kB / 368.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.2112, allocations: 4 kB / 368.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002194/0.2134, allocations: 0.7905 MB / 369 MB, free: 1.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.2134, allocations: 4 kB / 369 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.2135, allocations: 4 kB / 369 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.2145, allocations: 220.7 kB / 369.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2149, allocations: 75.78 kB / 369.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.26/0.4748, allocations: 2.858 MB / 372.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4759, allocations: 85.5 kB / 372.2 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.476, allocations: 19.22 kB / 372.2 MB, free: 24.22 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.0005127/0.4766, allocations: 185.5 kB / 372.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.4768, allocations: 55.62 kB / 372.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.477, allocations: 54.69 kB / 372.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4771, allocations: 3.969 kB / 372.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4771, allocations: 1.734 kB / 372.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4771, allocations: 5.219 kB / 372.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.4813, allocations: 1.272 MB / 373.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4814, allocations: 4.328 kB / 373.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.4817, allocations: 31.94 kB / 373.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.4829, allocations: 218 kB / 374 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.483, allocations: 5.375 kB / 374 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006805/0.4898, allocations: 2.789 MB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4898, allocations: 1.375 kB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.4932, allocations: 0.94 MB / 377.8 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.4935, allocations: 126 kB / 377.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.4937, allocations: 12.7 kB / 377.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.4944, allocations: 41.83 kB / 377.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.4946, allocations: 31.98 kB / 378 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.4947, allocations: 16.8 kB / 378 MB, free: 21.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006458/0.4953, allocations: 298.4 kB / 378.3 MB, free: 20.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4953, allocations: 0 / 378.3 MB, free: 20.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001414/0.4967, allocations: 190.4 kB / 378.5 MB, free: 20.93 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.0002431/0.497, allocations: 112.4 kB / 378.6 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.4996, allocations: 0.6756 MB / 379.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4996, allocations: 1.031 kB / 379.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.5009, allocations: 413.2 kB / 379.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.502, allocations: 74.12 kB / 379.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.5053, allocations: 1.188 MB / 380.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.506, allocations: 0.8629 MB / 381.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5062, allocations: 31.52 kB / 381.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5062, allocations: 3.938 kB / 381.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of Templates: time 0.02399/0.5302, allocations: 8.28 MB / 390.1 MB, free: 15.86 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