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.001789/0.001789, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001689/0.001689, allocations: 191 kB / 18 MB, free: 4.977 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.544/1.544, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 43.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3992, allocations: 49.44 MB / 400.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006222/0.4054, allocations: 4.449 MB / 405.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.4076, allocations: 1.203 MB / 406.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.4078, allocations: 15.94 kB / 406.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.4083, allocations: 146.8 kB / 406.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.4087, allocations: 202.3 kB / 406.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.4091, allocations: 195.6 kB / 407 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007203/0.4099, allocations: 0.7669 MB / 407.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.4103, allocations: 258.5 kB / 408 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.4106, allocations: 294.9 kB / 408.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.411, allocations: 322.5 kB / 408.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.4111, allocations: 68 kB / 408.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.4112, allocations: 64 kB / 408.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.4114, allocations: 147.4 kB / 408.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.4117, allocations: 338.3 kB / 409.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.4124, allocations: 0.7485 MB / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4124, allocations: 0 / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4125, allocations: 0 / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.4125, allocations: 0 / 409.9 MB, free: 15.8 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.001683/0.4142, allocations: 0.9509 MB / 410.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4142, allocations: 11.89 kB / 410.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4143, allocations: 72.09 kB / 411 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.4149, allocations: 417.8 kB / 411.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.4149, allocations: 41.69 kB / 411.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4151, allocations: 56.38 kB / 411.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4164, allocations: 0.5494 MB / 412 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.4165, allocations: 8 kB / 412 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.4165, allocations: 20 kB / 412.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4166, allocations: 12 kB / 412.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.4175, allocations: 417 kB / 412.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.4205, allocations: 1.812 MB / 414.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.4214, allocations: 0.5276 MB / 414.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4225, allocations: 460.9 kB / 415.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.4226, allocations: 4.328 kB / 415.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.4231, allocations: 298.2 kB / 415.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.4231, allocations: 4 kB / 415.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003771/0.4269, allocations: 1.306 MB / 416.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.4271, allocations: 243.3 kB / 417.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4276, allocations: 425.9 kB / 417.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.4276, allocations: 33.7 kB / 417.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4279, allocations: 308.1 kB / 417.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.428, allocations: 141.9 kB / 418 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.4282, allocations: 98.16 kB / 418.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4284, allocations: 354.8 kB / 418.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.4287, allocations: 157 kB / 418.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.4293, allocations: 313.7 kB / 418.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.4301, allocations: 447.2 kB / 419.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4301, allocations: 3.938 kB / 419.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001727/0.4318, allocations: 0.7868 MB / 420.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4318, allocations: 8 kB / 420.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4319, allocations: 4 kB / 420.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.4326, allocations: 218.8 kB / 420.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.433, allocations: 79.84 kB / 420.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/0.4379, allocations: 3.129 MB / 423.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.4384, allocations: 83.39 kB / 423.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.4385, allocations: 20 kB / 423.7 MB, free: 1.422 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.0002855/0.4388, allocations: 189.7 kB / 423.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.4388, allocations: 47.44 kB / 423.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.439, allocations: 56.86 kB / 423.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.439, allocations: 4 kB / 423.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.439, allocations: 0 / 423.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-06/0.439, allocations: 0 / 423.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.4413, allocations: 1.28 MB / 425.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4413, allocations: 0 / 425.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4415, allocations: 35.92 kB / 425.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.4421, allocations: 220.6 kB / 425.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.4421, allocations: 8 kB / 425.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.4469, allocations: 3.052 MB / 428.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4469, allocations: 4 kB / 428.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.449, allocations: 0.938 MB / 429.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.4492, allocations: 124.5 kB / 429.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.4493, allocations: 12 kB / 429.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.4496, allocations: 40.03 kB / 429.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4498, allocations: 35.94 kB / 429.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4498, allocations: 12 kB / 429.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.4502, allocations: 303.1 kB / 430 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4502, allocations: 0 / 430 MB, free: 10.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007816/0.451, allocations: 195.5 kB / 430.2 MB, free: 10.64 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.0002096/0.4512, allocations: 111.7 kB / 430.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.4529, allocations: 0.6801 MB / 431 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4529, allocations: 0 / 431 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.4537, allocations: 425.1 kB / 431.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.4542, allocations: 86.28 kB / 431.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.4561, allocations: 0.9114 MB / 432.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.4566, allocations: 0.859 MB / 433.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.4568, allocations: 44.38 kB / 433.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.4569, allocations: 31.44 kB / 433.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4569, allocations: 4 kB / 433.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01469/0.4716, allocations: 7.638 MB / 441 MB, free: 15.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/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