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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 102.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3037, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004753/0.3085, allocations: 4.465 MB / 403.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.3111, allocations: 1.194 MB / 405.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.3116, allocations: 12 kB / 405.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.3122, allocations: 119.1 kB / 405.3 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.3127, allocations: 170.7 kB / 405.4 MB, free: 27.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.3132, allocations: 167.8 kB / 405.6 MB, free: 27.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.3137, allocations: 0.7319 MB / 406.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.314, allocations: 239.3 kB / 406.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3142, allocations: 259 kB / 406.8 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.3145, allocations: 314.4 kB / 407.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.3146, allocations: 44 kB / 407.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.3147, allocations: 40 kB / 407.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.3148, allocations: 131.5 kB / 407.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.315, allocations: 318.3 kB / 407.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.3155, allocations: 0.7098 MB / 408.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3155, allocations: 4 kB / 408.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3155, allocations: 0 / 408.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3155, allocations: 0 / 408.4 MB, free: 24.46 MB / 298.7 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.3172, allocations: 0.9486 MB / 409.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3172, allocations: 8.031 kB / 409.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.3173, allocations: 76.09 kB / 409.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.3177, allocations: 409.8 kB / 409.8 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3177, allocations: 37.69 kB / 409.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.3178, allocations: 56.38 kB / 409.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.3186, allocations: 0.5536 MB / 410.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3186, allocations: 0 / 410.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.3187, allocations: 20 kB / 410.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.3187, allocations: 16 kB / 410.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.3194, allocations: 421 kB / 410.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3218, allocations: 1.828 MB / 412.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.3225, allocations: 0.5302 MB / 413.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.3233, allocations: 433.6 kB / 413.7 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.3234, allocations: 8.266 kB / 413.7 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004389/0.3238, allocations: 306.1 kB / 414 MB, free: 18.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.3238, allocations: 0 / 414 MB, free: 18.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.003588/0.3274, allocations: 1.302 MB / 415.3 MB, free: 17.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.3275, allocations: 239.3 kB / 415.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.3279, allocations: 426 kB / 415.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.328, allocations: 37.7 kB / 416 MB, free: 16.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3281, allocations: 308 kB / 416.3 MB, free: 16.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.3282, allocations: 145.9 kB / 416.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3283, allocations: 90.25 kB / 416.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.3284, allocations: 354.8 kB / 416.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3287, allocations: 153 kB / 417 MB, free: 15.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.329, allocations: 321.6 kB / 417.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.3296, allocations: 451.3 kB / 417.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3296, allocations: 0 / 417.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001484/0.3311, allocations: 0.7829 MB / 418.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3312, allocations: 11.98 kB / 418.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3312, allocations: 4 kB / 418.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.3318, allocations: 208.7 kB / 418.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.3321, allocations: 79.84 kB / 418.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.336, allocations: 2.871 MB / 421.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.3365, allocations: 87.47 kB / 421.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3365, allocations: 16 kB / 421.8 MB, free: 10.37 MB / 298.7 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.0002262/0.3368, allocations: 185.7 kB / 422 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.3368, allocations: 51.44 kB / 422 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/0.3369, allocations: 56.8 kB / 422.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3369, allocations: 4 kB / 422.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3369, allocations: 8 kB / 422.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.337, allocations: 0 / 422.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.3389, allocations: 1.273 MB / 423.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3389, allocations: 0 / 423.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3391, allocations: 31.98 kB / 423.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.3396, allocations: 220.1 kB / 423.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.3397, allocations: 4 kB / 423.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.343, allocations: 2.787 MB / 426.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.343, allocations: 3.938 kB / 426.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.3533, allocations: 6.786 MB / 433.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3535, allocations: 132.4 kB / 433.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3536, allocations: 4 kB / 433.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.354, allocations: 48.09 kB / 433.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3541, allocations: 39.88 kB / 433.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3541, allocations: 8 kB / 433.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.3545, allocations: 299.1 kB / 433.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3545, allocations: 0 / 433.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.3553, allocations: 251.5 kB / 434 MB, free: 13.69 MB / 314.7 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.0001974/0.3555, allocations: 122.4 kB / 434.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3571, allocations: 0.6691 MB / 434.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3571, allocations: 0 / 434.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.3578, allocations: 420.5 kB / 435.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3584, allocations: 83.94 kB / 435.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.3611, allocations: 1.701 MB / 436.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3616, allocations: 0.8752 MB / 437.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.3618, allocations: 48.45 kB / 437.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.3619, allocations: 31.44 kB / 437.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3619, allocations: 3.938 kB / 437.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of Templates: time 0.01556/0.3774, allocations: 8.522 MB / 446.4 MB, free: 1.191 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches