Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 114.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001125, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2722, allocations: 50.55 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005812/0.2781, allocations: 4.479 MB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2804, allocations: 1.269 MB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.2807, allocations: 15.94 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.2812, allocations: 146.7 kB / 415.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.2817, allocations: 206.2 kB / 416.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.2822, allocations: 207.6 kB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007666/0.2829, allocations: 0.7669 MB / 417.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.2834, allocations: 270.5 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2838, allocations: 290.9 kB / 417.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.2842, allocations: 334.5 kB / 417.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.2843, allocations: 64 kB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2845, allocations: 68 kB / 418.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2846, allocations: 151.4 kB / 418.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.2849, allocations: 350.2 kB / 418.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.2857, allocations: 0.7484 MB / 419.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.2858, allocations: 4 kB / 419.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2858, allocations: 3.938 kB / 419.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2858, allocations: 0 / 419.3 MB, free: 8.219 MB / 334.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.001802/0.2876, allocations: 0.9625 MB / 420.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2876, allocations: 8.031 kB / 420.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.288, allocations: 92.06 kB / 420.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.2885, allocations: 421.8 kB / 420.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.2886, allocations: 41.69 kB / 420.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.2887, allocations: 60.36 kB / 420.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.2896, allocations: 0.5417 MB / 421.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2897, allocations: 12 kB / 421.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.2897, allocations: 24 kB / 421.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2897, allocations: 12 kB / 421.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.2906, allocations: 421 kB / 421.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.2935, allocations: 1.816 MB / 423.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.2943, allocations: 0.5362 MB / 424.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.2954, allocations: 449 kB / 424.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.2954, allocations: 4.328 kB / 424.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.2959, allocations: 306 kB / 425 MB, free: 2.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.296, allocations: 0 / 425 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003952/0.2999, allocations: 1.31 MB / 426.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.3001, allocations: 243.3 kB / 426.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.3006, allocations: 441.8 kB / 426.9 MB, free: 208 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3006, allocations: 33.7 kB / 427 MB, free: 168 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3008, allocations: 312.1 kB / 427.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.3009, allocations: 138 kB / 427.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3011, allocations: 90.25 kB / 427.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3012, allocations: 358.8 kB / 427.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.3015, allocations: 153 kB / 428 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.302, allocations: 321.5 kB / 428.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.3027, allocations: 443.5 kB / 428.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3027, allocations: 7.938 kB / 428.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001727/0.3045, allocations: 0.7908 MB / 429.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3045, allocations: 6.812 kB / 429.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3045, allocations: 4 kB / 429.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.3052, allocations: 220.7 kB / 429.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3055, allocations: 67.91 kB / 429.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.3102, allocations: 3.135 MB / 433 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.3107, allocations: 79.41 kB / 433.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3107, allocations: 20 kB / 433.1 MB, free: 9.773 MB / 350.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.0002389/0.311, allocations: 190.2 kB / 433.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.311, allocations: 47.44 kB / 433.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.574e-05/0.3111, allocations: 56.95 kB / 433.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3112, allocations: 4 kB / 433.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3112, allocations: 0 / 433.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3112, allocations: 8.031 kB / 433.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.3133, allocations: 1.285 MB / 434.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3133, allocations: 0 / 434.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3135, allocations: 35.91 kB / 434.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006056/0.3141, allocations: 216.6 kB / 434.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3142, allocations: 8 kB / 434.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/0.3184, allocations: 3.05 MB / 438 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3184, allocations: 0 / 438 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3203, allocations: 0.9374 MB / 438.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3205, allocations: 132.4 kB / 439 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.3205, allocations: 11.92 kB / 439 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.3209, allocations: 48.03 kB / 439.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.321, allocations: 31.95 kB / 439.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.321, allocations: 8 kB / 439.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.3214, allocations: 307.1 kB / 439.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.3214, allocations: 0 / 439.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.322, allocations: 195.5 kB / 439.6 MB, free: 2.984 MB / 350.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.0001585/0.3222, allocations: 111.2 kB / 439.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3237, allocations: 0.6849 MB / 440.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3237, allocations: 0 / 440.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.3244, allocations: 421.1 kB / 440.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.325, allocations: 81.42 kB / 440.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3266, allocations: 0.9585 MB / 441.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.327, allocations: 0.8707 MB / 442.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.3271, allocations: 35.42 kB / 442.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3271, allocations: 0 / 442.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01183/0.339, allocations: 8.534 MB / 451.3 MB, free: 7.246 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches