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.001321/0.00132, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001353/0.001353, allocations: 179 kB / 18.68 MB, free: 4.383 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 51.92 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2786, allocations: 49.43 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005349/0.284, allocations: 4.458 MB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2861, allocations: 1.203 MB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.2863, allocations: 15.94 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.2867, allocations: 138.8 kB / 407.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.2871, allocations: 206.2 kB / 407.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.2875, allocations: 203.7 kB / 407.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.2883, allocations: 0.7591 MB / 408.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.2887, allocations: 262.5 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.289, allocations: 290.9 kB / 409 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.2894, allocations: 326.5 kB / 409.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2895, allocations: 68 kB / 409.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2896, allocations: 64 kB / 409.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2898, allocations: 159.3 kB / 409.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.29, allocations: 334.3 kB / 409.9 MB, free: 380 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007184/0.2908, allocations: 0.7428 MB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2908, allocations: 0 / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2908, allocations: 0 / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2908, allocations: 0 / 410.6 MB, free: 15.63 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.001612/0.2924, allocations: 0.9776 MB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2925, allocations: 11.89 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2926, allocations: 76.47 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.2931, allocations: 410.1 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.2931, allocations: 45.69 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.2932, allocations: 56.38 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.2942, allocations: 0.5495 MB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2942, allocations: 0 / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.2943, allocations: 24 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2943, allocations: 12 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.2952, allocations: 425 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.298, allocations: 1.809 MB / 415 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.2988, allocations: 0.5237 MB / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.2998, allocations: 461 kB / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.2999, allocations: 12.33 kB / 416 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.3004, allocations: 298.1 kB / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.003e-06/0.3004, allocations: 0 / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.00394/0.3044, allocations: 1.302 MB / 417.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.3045, allocations: 239.3 kB / 417.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.305, allocations: 433.8 kB / 418.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.305, allocations: 37.7 kB / 418.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.3053, allocations: 312.8 kB / 418.6 MB, free: 7.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3054, allocations: 146.8 kB / 418.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.3055, allocations: 94.2 kB / 418.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3057, allocations: 350.8 kB / 419.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3061, allocations: 149 kB / 419.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.3065, allocations: 329.6 kB / 419.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.3073, allocations: 443.2 kB / 420.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3073, allocations: 0 / 420.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001715/0.309, allocations: 0.7947 MB / 420.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.309, allocations: 8.062 kB / 420.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3091, allocations: 4 kB / 420.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/0.3098, allocations: 219.1 kB / 421.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3101, allocations: 75.83 kB / 421.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.3151, allocations: 3.149 MB / 424.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.3157, allocations: 87.59 kB / 424.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3157, allocations: 20 kB / 424.4 MB, free: 1.191 MB / 334.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.0002914/0.316, allocations: 181.7 kB / 424.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.3161, allocations: 55.59 kB / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.3162, allocations: 56.88 kB / 424.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3162, allocations: 3.984 kB / 424.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3162, allocations: 0 / 424.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3164, allocations: 136.6 kB / 424.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.3164, allocations: 8 kB / 424.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.3168, allocations: 35.97 kB / 424.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3169, allocations: 51.7 kB / 424.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001901/0.3188, allocations: 0.6609 MB / 425.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.32, allocations: 0.7108 MB / 426.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003132/0.3203, allocations: 144.2 kB / 426.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.3207, allocations: 303.1 kB / 426.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Backend: time 7.52e-07/0.3207, allocations: 0 / 426.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3224, allocations: 0.64 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 0.001706/0.3241, allocations: 1.487 MB / 428.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01275/0.3368, allocations: 7.379 MB / 436.2 MB, free: 5.309 MB / 350.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