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.001055/0.001056, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.00108/0.001081, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.00112, allocations: 51.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2623, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005496/0.2678, allocations: 4.448 MB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.27, allocations: 1.203 MB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.2703, allocations: 15.94 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.2707, allocations: 138.8 kB / 407.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.2711, allocations: 206.2 kB / 407.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2715, allocations: 191.7 kB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.2722, allocations: 0.763 MB / 408.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.2726, allocations: 266.5 kB / 408.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.273, allocations: 294.8 kB / 408.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.2733, allocations: 318.6 kB / 409.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.2734, allocations: 64 kB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.2736, allocations: 71.94 kB / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2737, allocations: 151.4 kB / 409.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.274, allocations: 338.3 kB / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.2746, allocations: 0.7406 MB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2746, allocations: 4 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2746, allocations: 0 / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2747, allocations: 3.984 kB / 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.001627/0.2763, allocations: 0.9508 MB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2763, allocations: 11.89 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2765, allocations: 76.09 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.277, allocations: 405.9 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.277, allocations: 41.69 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.2771, allocations: 60.36 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.2781, allocations: 0.5456 MB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2781, allocations: 0 / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.2781, allocations: 28 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.2782, allocations: 12 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.279, allocations: 425 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.2818, allocations: 1.812 MB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008005/0.2827, allocations: 0.5264 MB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.2837, allocations: 460.9 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.2838, allocations: 4.328 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.2843, allocations: 298.2 kB / 416.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.2844, allocations: 0 / 416.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003938/0.2883, allocations: 1.314 MB / 417.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.2884, allocations: 239.3 kB / 417.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.289, allocations: 425.9 kB / 418.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.289, allocations: 33.7 kB / 418.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.2892, allocations: 304.1 kB / 418.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2893, allocations: 141.9 kB / 418.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.2895, allocations: 98.16 kB / 418.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2896, allocations: 358.8 kB / 419.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.29, allocations: 149 kB / 419.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.2904, allocations: 321.6 kB / 419.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.2912, allocations: 447.2 kB / 420 MB, free: 5.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2912, allocations: 3.938 kB / 420 MB, free: 5.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001798/0.293, allocations: 0.7906 MB / 420.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.293, allocations: 8 kB / 420.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.293, allocations: 0 / 420.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.2937, allocations: 222.8 kB / 421 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.294, allocations: 71.91 kB / 421.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.299, allocations: 3.131 MB / 424.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.2995, allocations: 87.45 kB / 424.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2996, allocations: 23.94 kB / 424.3 MB, free: 1.246 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.0002538/0.2998, allocations: 181.6 kB / 424.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.2999, allocations: 47.44 kB / 424.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3, allocations: 60.86 kB / 424.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3, allocations: 4 kB / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3, allocations: 0 / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3001, allocations: 0 / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.3024, allocations: 1.272 MB / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3025, allocations: 0 / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3026, allocations: 43.92 kB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/0.3032, allocations: 212.6 kB / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3033, allocations: 8 kB / 426.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.3075, allocations: 3.057 MB / 429.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3075, allocations: 0 / 429.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3094, allocations: 0.9381 MB / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3095, allocations: 124.6 kB / 430.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.3096, allocations: 16 kB / 430.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.31, allocations: 35.97 kB / 430.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.3101, allocations: 31.95 kB / 430.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3101, allocations: 15.98 kB / 430.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.3104, allocations: 303.1 kB / 430.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3104, allocations: 0 / 430.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.3111, allocations: 191.5 kB / 430.9 MB, free: 10.48 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.0001633/0.3113, allocations: 115.7 kB / 431 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3129, allocations: 0.6801 MB / 431.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3129, allocations: 0 / 431.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.3136, allocations: 425.1 kB / 432.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.3142, allocations: 81.52 kB / 432.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3158, allocations: 0.9363 MB / 433.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3163, allocations: 0.859 MB / 433.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.3164, allocations: 35.44 kB / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3164, allocations: 0 / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.3269, allocations: 8.34 MB / 442.3 MB, free: 14.95 MB / 366.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