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.001681/0.001681, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.002098/0.002098, allocations: 190 kB / 17.54 MB, free: 6.066 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.369/1.369, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009923/0.0009924, allocations: 51.95 kB / 300.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1018, allocations: 49.44 MB / 349.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005526/0.1074, allocations: 4.463 MB / 354.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.1099, allocations: 1.199 MB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.1103, allocations: 11.94 kB / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.1108, allocations: 119.1 kB / 355.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.1113, allocations: 162.7 kB / 355.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1117, allocations: 175.8 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.1125, allocations: 0.7475 MB / 356.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.1129, allocations: 270.5 kB / 356.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.1134, allocations: 286.9 kB / 357 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1137, allocations: 322.5 kB / 357.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.1138, allocations: 64 kB / 357.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.1139, allocations: 75.88 kB / 357.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1141, allocations: 151.5 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.1144, allocations: 342.3 kB / 357.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.1151, allocations: 0.7281 MB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1151, allocations: 0 / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1151, allocations: 0 / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1151, allocations: 0 / 358.7 MB, free: 11.54 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.001827/0.1169, allocations: 0.9587 MB / 359.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.117, allocations: 11.89 kB / 359.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1172, allocations: 72.09 kB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.1177, allocations: 401.9 kB / 360.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.1178, allocations: 45.69 kB / 360.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.1179, allocations: 52.38 kB / 360.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1189, allocations: 0.5535 MB / 360.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1189, allocations: 0 / 360.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.119, allocations: 24 kB / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.119, allocations: 12 kB / 360.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.1199, allocations: 429 kB / 361.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.1232, allocations: 1.828 MB / 363 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/0.1241, allocations: 0.5277 MB / 363.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.125, allocations: 429 kB / 364 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1251, allocations: 8.266 kB / 364 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.1257, allocations: 310.1 kB / 364.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.1257, allocations: 0 / 364.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003973/0.1297, allocations: 1.306 MB / 365.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.1298, allocations: 239.3 kB / 365.8 MB, free: 4.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.1303, allocations: 429.8 kB / 366.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.1304, allocations: 33.7 kB / 366.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.1306, allocations: 316 kB / 366.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1307, allocations: 138 kB / 366.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1309, allocations: 90.25 kB / 366.8 MB, free: 3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.131, allocations: 358.8 kB / 367.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.1314, allocations: 145 kB / 367.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.1319, allocations: 325.6 kB / 367.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.1326, allocations: 435.5 kB / 368 MB, free: 1.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.1326, allocations: 4 kB / 368 MB, free: 1.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001772/0.1344, allocations: 0.7983 MB / 368.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1345, allocations: 10.81 kB / 368.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1345, allocations: 4 kB / 368.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007999/0.1353, allocations: 216.8 kB / 369.1 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1356, allocations: 71.84 kB / 369.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.173/0.3087, allocations: 3.121 MB / 372.3 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.3093, allocations: 84.89 kB / 372.3 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.3093, allocations: 20.09 kB / 372.4 MB, free: 23.91 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.0002798/0.3096, allocations: 182.2 kB / 372.5 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.3097, allocations: 52.39 kB / 372.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.3098, allocations: 55.62 kB / 372.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3098, allocations: 4.406 kB / 372.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3098, allocations: 1.219 kB / 372.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3098, allocations: 2.25 kB / 372.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3123, allocations: 1.278 MB / 373.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3124, allocations: 0.7031 kB / 373.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.3126, allocations: 35.27 kB / 374 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007165/0.3133, allocations: 217.5 kB / 374.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3134, allocations: 7.594 kB / 374.2 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.3182, allocations: 3.066 MB / 377.3 MB, free: 20.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3182, allocations: 5.312 kB / 377.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.3202, allocations: 0.9289 MB / 378.2 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3204, allocations: 130.1 kB / 378.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.3204, allocations: 6.625 kB / 378.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3208, allocations: 46.95 kB / 378.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.321, allocations: 39.38 kB / 378.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.321, allocations: 8.656 kB / 378.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.3215, allocations: 301.2 kB / 378.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3215, allocations: 3.844 kB / 378.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008981/0.3224, allocations: 187.3 kB / 378.9 MB, free: 20.18 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.0002002/0.3226, allocations: 115.3 kB / 379 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3243, allocations: 0.6756 MB / 379.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3243, allocations: 5.188 kB / 379.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.325, allocations: 420.6 kB / 380.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3256, allocations: 76.8 kB / 380.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3273, allocations: 1.15 MB / 381.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3276, allocations: 0.8654 MB / 382.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.3279, allocations: 51.84 kB / 382.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3279, allocations: 29.84 kB / 382.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.328, allocations: 0 / 382.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01344/0.3414, allocations: 7.453 MB / 389.7 MB, free: 15.73 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