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.001291/0.001291, allocations: 106.3 kB / 17.74 MB, free: 5.324 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.001157/0.001157, allocations: 181.4 kB / 18.67 MB, free: 4.406 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009707/0.0009707, allocations: 51.94 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2326, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004899/0.2376, allocations: 4.457 MB / 405.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2393, allocations: 1.207 MB / 407.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.2396, allocations: 11.94 kB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.24, allocations: 142.8 kB / 407.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.2404, allocations: 202.3 kB / 407.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.2408, allocations: 195.6 kB / 407.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.2415, allocations: 0.763 MB / 408.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.2418, allocations: 262.5 kB / 408.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.2421, allocations: 286.9 kB / 409 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.2425, allocations: 322.5 kB / 409.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.2426, allocations: 68 kB / 409.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2427, allocations: 64 kB / 409.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2428, allocations: 147.4 kB / 409.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.2431, allocations: 342.3 kB / 409.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.2437, allocations: 0.7523 MB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2437, allocations: 4 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2438, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2438, allocations: 0 / 410.6 MB, free: 15.65 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.001585/0.2454, allocations: 0.95 MB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2454, allocations: 11.89 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2455, allocations: 76.09 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.246, allocations: 413.8 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.2461, allocations: 41.69 kB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.2461, allocations: 56.38 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.2471, allocations: 0.5495 MB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2471, allocations: 0 / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.2472, allocations: 28 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2472, allocations: 12 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.2481, allocations: 425 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.2509, allocations: 1.805 MB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.2517, allocations: 0.5276 MB / 415.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.2527, allocations: 464.9 kB / 416 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.2528, allocations: 8.312 kB / 416 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.2533, allocations: 290.2 kB / 416.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.2533, allocations: 0 / 416.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003872/0.2572, allocations: 1.31 MB / 417.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.2573, allocations: 239.3 kB / 417.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.2578, allocations: 425.9 kB / 418.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.2579, allocations: 37.69 kB / 418.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2581, allocations: 304.1 kB / 418.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.948e-05/0.2582, allocations: 141.9 kB / 418.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2583, allocations: 98.16 kB / 418.8 MB, free: 7.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2585, allocations: 358.8 kB / 419.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.2588, allocations: 149 kB / 419.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2593, allocations: 321.6 kB / 419.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.26, allocations: 451.2 kB / 420 MB, free: 5.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.26, allocations: 0 / 420 MB, free: 5.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001831/0.2619, allocations: 0.7867 MB / 420.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2619, allocations: 8 kB / 420.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2619, allocations: 0 / 420.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.2626, allocations: 218.8 kB / 421 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2629, allocations: 79.84 kB / 421.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.268, allocations: 3.135 MB / 424.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.2684, allocations: 83.47 kB / 424.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.2685, allocations: 23.94 kB / 424.4 MB, free: 1.266 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.0002211/0.2687, allocations: 177.7 kB / 424.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.2688, allocations: 59.31 kB / 424.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2689, allocations: 56.86 kB / 424.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2689, allocations: 0 / 424.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2689, allocations: 0 / 424.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.269, allocations: 128.5 kB / 424.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.2691, allocations: 12 kB / 424.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.2695, allocations: 39.97 kB / 424.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.2696, allocations: 47.7 kB / 424.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001631/0.2712, allocations: 0.6646 MB / 425.5 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00111/0.2723, allocations: 0.71 MB / 426.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002951/0.2726, allocations: 140.2 kB / 426.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003053/0.273, allocations: 295.2 kB / 426.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.273, allocations: 4 kB / 426.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2745, allocations: 0.6327 MB / 427.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 0.001613/0.2762, allocations: 1.468 MB / 428.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Templates: time 0.0128/0.289, allocations: 7.372 MB / 436.1 MB, free: 5.43 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