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.001173/0.001173, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001345/0.001345, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.508/1.508, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 51.23 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 49.45 MB / 350.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.007927/0.1292, allocations: 4.444 MB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1322, allocations: 1.211 MB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008669/0.1331, allocations: 11.94 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.134, allocations: 146.8 kB / 355.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.1351, allocations: 194.2 kB / 356.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.1359, allocations: 191.7 kB / 356.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1375, allocations: 0.763 MB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.1382, allocations: 266.5 kB / 357.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.1391, allocations: 290.9 kB / 357.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.14, allocations: 326.5 kB / 357.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1402, allocations: 64 kB / 357.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1404, allocations: 64 kB / 358 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1406, allocations: 155.3 kB / 358.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.141, allocations: 342.3 kB / 358.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.142, allocations: 0.732 MB / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.142, allocations: 0 / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.142, allocations: 0 / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.142, allocations: 0 / 359.2 MB, free: 11.23 MB / 302.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.002096/0.1442, allocations: 0.9431 MB / 360.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.1442, allocations: 15.89 kB / 360.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1444, allocations: 72.09 kB / 360.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.145, allocations: 401.9 kB / 360.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.145, allocations: 49.62 kB / 360.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.1451, allocations: 52.38 kB / 360.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1463, allocations: 0.5536 MB / 361.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.1464, allocations: 0 / 361.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.1464, allocations: 27.94 kB / 361.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1465, allocations: 12 kB / 361.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.1474, allocations: 417 kB / 361.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.1511, allocations: 1.828 MB / 363.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1523, allocations: 0.5299 MB / 364.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.1533, allocations: 440.9 kB / 364.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.1534, allocations: 8.266 kB / 364.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/0.154, allocations: 298 kB / 364.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.154, allocations: 0 / 364.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.00409/0.1581, allocations: 1.302 MB / 366.1 MB, free: 4.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/0.1584, allocations: 243.3 kB / 366.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.1591, allocations: 429.8 kB / 366.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.1591, allocations: 37.7 kB / 366.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.1596, allocations: 312.1 kB / 367.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.1598, allocations: 138 kB / 367.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.16, allocations: 90.19 kB / 367.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1602, allocations: 358.8 kB / 367.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.1606, allocations: 153 kB / 367.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.1611, allocations: 317.6 kB / 368.2 MB, free: 1.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.1618, allocations: 443.5 kB / 368.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1619, allocations: 4 kB / 368.6 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001912/0.1638, allocations: 0.7905 MB / 369.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.1638, allocations: 11.94 kB / 369.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1638, allocations: 4 kB / 369.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.1648, allocations: 216.7 kB / 369.6 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.1652, allocations: 79.83 kB / 369.7 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2179/0.3831, allocations: 3.115 MB / 372.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.3839, allocations: 86.72 kB / 372.9 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.384, allocations: 19.47 kB / 372.9 MB, free: 23.81 MB / 302.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.0004605/0.3844, allocations: 186.1 kB / 373.1 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3846, allocations: 54.09 kB / 373.1 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3847, allocations: 53.97 kB / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3847, allocations: 8.625 kB / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3847, allocations: 0 / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3848, allocations: 2.25 kB / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.3881, allocations: 1.277 MB / 374.5 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3881, allocations: 0 / 374.5 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.3883, allocations: 36.06 kB / 374.5 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007655/0.3891, allocations: 217.7 kB / 374.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.3891, allocations: 11.73 kB / 374.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.3938, allocations: 3.051 MB / 377.8 MB, free: 20.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3938, allocations: 3.938 kB / 377.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3958, allocations: 0.9382 MB / 378.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.396, allocations: 125.1 kB / 378.9 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.396, allocations: 7.781 kB / 378.9 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.3964, allocations: 43.55 kB / 378.9 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3966, allocations: 38.84 kB / 379 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3966, allocations: 13.59 kB / 379 MB, free: 20.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.397, allocations: 296.4 kB / 379.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.397, allocations: 0 / 379.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008389/0.3979, allocations: 191 kB / 379.4 MB, free: 20.04 MB / 302.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.0001662/0.3981, allocations: 117.2 kB / 379.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3998, allocations: 0.678 MB / 380.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3998, allocations: 1.062 kB / 380.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.4005, allocations: 423.5 kB / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.401, allocations: 77.55 kB / 380.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4027, allocations: 0.9289 MB / 381.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.4031, allocations: 0.8601 MB / 382.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.4033, allocations: 50.73 kB / 382.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.4034, allocations: 35.05 kB / 382.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4034, allocations: 0 / 382.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01459/0.418, allocations: 7.509 MB / 390.1 MB, free: 15.77 MB / 302.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