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.00136/0.00136, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001473/0.001473, allocations: 192 kB / 18.62 MB, free: 4.41 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.301/1.301, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.0009659, allocations: 59.11 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08792, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005215/0.09316, allocations: 4.443 MB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.0949, allocations: 1.211 MB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.09512, allocations: 15.94 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.09553, allocations: 146.8 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.09589, allocations: 190.3 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.09628, allocations: 199.6 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006683/0.09696, allocations: 0.7552 MB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.09734, allocations: 274.5 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.09763, allocations: 286.9 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.09798, allocations: 326.5 kB / 359.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.09807, allocations: 68 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.09816, allocations: 64 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.0983, allocations: 147.4 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.09858, allocations: 338.3 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.09921, allocations: 0.7473 MB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09922, allocations: 0 / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09923, allocations: 4 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.09925, allocations: 0 / 360.7 MB, free: 10.46 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.001574/0.1008, allocations: 0.9509 MB / 361.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1009, allocations: 11.89 kB / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.101, allocations: 76.09 kB / 361.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1015, allocations: 413.9 kB / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.1015, allocations: 41.69 kB / 362.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.1016, allocations: 56.38 kB / 362.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/0.1025, allocations: 0.5535 MB / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1026, allocations: 0 / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.1026, allocations: 24 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1026, allocations: 12 kB / 362.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.1035, allocations: 417 kB / 363.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.1064, allocations: 1.812 MB / 365 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.1072, allocations: 0.5299 MB / 365.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/0.1081, allocations: 437 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1081, allocations: 12.2 kB / 366 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.1086, allocations: 294 kB / 366.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.364e-06/0.1086, allocations: 0 / 366.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.00382/0.1124, allocations: 1.306 MB / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1126, allocations: 235.3 kB / 367.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.113, allocations: 437.8 kB / 368.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1131, allocations: 33.7 kB / 368.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1133, allocations: 316.1 kB / 368.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.1134, allocations: 138 kB / 368.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1136, allocations: 86.25 kB / 368.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1137, allocations: 354.8 kB / 369.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.114, allocations: 149 kB / 369.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.1145, allocations: 321.6 kB / 369.6 MB, free: 1.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.1152, allocations: 447.5 kB / 370 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1152, allocations: 0 / 370 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.166/0.2812, allocations: 0.7879 MB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.2813, allocations: 9.812 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.2813, allocations: 4.125 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/0.2822, allocations: 219.2 kB / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.2826, allocations: 71.41 kB / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.2874, allocations: 3.116 MB / 374.2 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.2879, allocations: 83.62 kB / 374.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.288, allocations: 20.75 kB / 374.4 MB, free: 23.65 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.000258/0.2882, allocations: 186.1 kB / 374.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.2883, allocations: 55.14 kB / 374.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.2884, allocations: 52.77 kB / 374.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2884, allocations: 5.219 kB / 374.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2884, allocations: 0 / 374.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2884, allocations: 7.344 kB / 374.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.2907, allocations: 1.278 MB / 375.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2907, allocations: 1.156 kB / 375.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2909, allocations: 37.97 kB / 376 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.2915, allocations: 222.1 kB / 376.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2915, allocations: 8.516 kB / 376.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003715/0.2952, allocations: 3.05 MB / 379.2 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2952, allocations: 2.219 kB / 379.2 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.297, allocations: 0.9394 MB / 380.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.2971, allocations: 125.3 kB / 380.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.2972, allocations: 12.95 kB / 380.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.2975, allocations: 41.41 kB / 380.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.2976, allocations: 32.25 kB / 380.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2977, allocations: 15.88 kB / 380.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.298, allocations: 298.3 kB / 380.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.298, allocations: 0 / 380.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006538/0.2987, allocations: 191.3 kB / 380.9 MB, free: 19.84 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.0001352/0.2988, allocations: 114.4 kB / 381 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.3002, allocations: 0.6738 MB / 381.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3003, allocations: 5.156 kB / 381.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.3009, allocations: 408.1 kB / 382.1 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.3014, allocations: 85.22 kB / 382.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.303, allocations: 0.915 MB / 383.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3033, allocations: 0.8566 MB / 383.9 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.3035, allocations: 49.44 kB / 384 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.3036, allocations: 29.73 kB / 384 MB, free: 17.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3036, allocations: 0 / 384 MB, free: 17.97 MB / 302.1 MB Notification: Performance of Templates: time 0.01257/0.3162, allocations: 7.523 MB / 391.5 MB, free: 15.41 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 gbode -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