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.001451/0.001451, allocations: 113.2 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.001719/0.001719, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.89 kB / 359.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2774, allocations: 50.54 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005453/0.2829, allocations: 4.487 MB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.285, allocations: 1.277 MB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2852, allocations: 8 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.2856, allocations: 150.6 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.286, allocations: 202.3 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.2865, allocations: 219.5 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.2871, allocations: 0.763 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.2876, allocations: 270.5 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.2879, allocations: 294.9 kB / 417.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.2883, allocations: 326.5 kB / 417.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.2884, allocations: 64 kB / 418 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.2885, allocations: 72 kB / 418.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2886, allocations: 147.5 kB / 418.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.2889, allocations: 350.2 kB / 418.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.2896, allocations: 0.7601 MB / 419.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2896, allocations: 4 kB / 419.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2896, allocations: 0 / 419.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2897, allocations: 0 / 419.3 MB, free: 8.145 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.001681/0.2913, allocations: 0.9586 MB / 420.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2914, allocations: 12.03 kB / 420.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.2917, allocations: 92.06 kB / 420.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.2923, allocations: 413.9 kB / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.2923, allocations: 49.62 kB / 420.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.2924, allocations: 52.38 kB / 420.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/0.2934, allocations: 0.5573 MB / 421.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2934, allocations: 0 / 421.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.2934, allocations: 20 kB / 421.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2935, allocations: 12 kB / 421.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.2943, allocations: 429 kB / 421.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.2971, allocations: 1.805 MB / 423.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.2979, allocations: 0.5362 MB / 424.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.2989, allocations: 453 kB / 424.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.2989, allocations: 8.266 kB / 424.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2994, allocations: 302.1 kB / 425 MB, free: 2.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.734e-06/0.2994, allocations: 0 / 425 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003651/0.3031, allocations: 1.31 MB / 426.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.3032, allocations: 239.3 kB / 426.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.3037, allocations: 437.8 kB / 427 MB, free: 148 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3037, allocations: 37.7 kB / 427 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.3039, allocations: 312.1 kB / 427.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.304, allocations: 138 kB / 427.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3042, allocations: 90.25 kB / 427.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3043, allocations: 358.8 kB / 427.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.3047, allocations: 149 kB / 428 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.3051, allocations: 333.4 kB / 428.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.3058, allocations: 439.5 kB / 428.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3058, allocations: 4 kB / 428.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001665/0.3075, allocations: 0.7908 MB / 429.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3075, allocations: 4 kB / 429.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3076, allocations: 8.062 kB / 429.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.3083, allocations: 216.6 kB / 429.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.3086, allocations: 75.84 kB / 429.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.3134, allocations: 3.134 MB / 433 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.3138, allocations: 87.41 kB / 433.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3138, allocations: 20 kB / 433.1 MB, free: 9.695 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.0002147/0.3141, allocations: 178.2 kB / 433.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.3141, allocations: 51.38 kB / 433.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.3142, allocations: 60.95 kB / 433.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3143, allocations: 4 kB / 433.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3143, allocations: 0 / 433.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3144, allocations: 124.5 kB / 433.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.3144, allocations: 11.98 kB / 433.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.3148, allocations: 47.91 kB / 433.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3149, allocations: 47.92 kB / 433.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001582/0.3165, allocations: 0.6618 MB / 434.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001062/0.3175, allocations: 0.7144 MB / 435 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002854/0.3178, allocations: 140.4 kB / 435.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003233/0.3182, allocations: 303.1 kB / 435.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Backend: time 3.1e-07/0.3182, allocations: 0 / 435.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.3198, allocations: 0.6423 MB / 436.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.001646/0.3214, allocations: 1.468 MB / 437.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of Templates: time 0.01282/0.3342, allocations: 7.51 MB / 445 MB, free: 13.71 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