Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 64.84 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006281/0.112, allocations: 4.479 MB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1148, allocations: 1.281 MB / 364.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.1154, allocations: 19.94 kB / 364.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.1159, allocations: 138.8 kB / 364.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1164, allocations: 206.2 kB / 364.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.117, allocations: 211.6 kB / 364.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008494/0.1179, allocations: 0.759 MB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.1183, allocations: 270.5 kB / 365.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.1188, allocations: 298.9 kB / 366.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.1194, allocations: 334.4 kB / 366.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1195, allocations: 64 kB / 366.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1198, allocations: 68 kB / 366.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1199, allocations: 147.5 kB / 366.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.1203, allocations: 350.2 kB / 367 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.1212, allocations: 0.7398 MB / 367.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1212, allocations: 4 kB / 367.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1212, allocations: 0 / 367.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1212, allocations: 0 / 367.8 MB, free: 4.555 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.00196/0.1232, allocations: 0.9703 MB / 368.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1232, allocations: 8.031 kB / 368.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.1236, allocations: 88.08 kB / 368.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.1241, allocations: 417.8 kB / 369.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.1242, allocations: 41.69 kB / 369.3 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/0.1243, allocations: 52.38 kB / 369.3 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1253, allocations: 0.5535 MB / 369.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1253, allocations: 3.906 kB / 369.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.1254, allocations: 28 kB / 369.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1254, allocations: 12 kB / 369.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.1263, allocations: 421 kB / 370.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1724/0.2988, allocations: 1.826 MB / 372.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.2998, allocations: 0.5231 MB / 372.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3008, allocations: 431.8 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.3009, allocations: 8.172 kB / 373.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.3014, allocations: 301.4 kB / 373.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3014, allocations: 0.5938 kB / 373.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004357/0.3058, allocations: 1.311 MB / 374.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.3059, allocations: 238.2 kB / 375 MB, free: 18.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.3065, allocations: 438.3 kB / 375.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3066, allocations: 37.06 kB / 375.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.3068, allocations: 316.6 kB / 375.7 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.3069, allocations: 138.9 kB / 375.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.307, allocations: 93.44 kB / 376 MB, free: 18.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3071, allocations: 357.1 kB / 376.3 MB, free: 18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3075, allocations: 150 kB / 376.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.3079, allocations: 323.2 kB / 376.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.3086, allocations: 448.5 kB / 377.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3086, allocations: 1.062 kB / 377.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001812/0.3105, allocations: 0.7834 MB / 378 MB, free: 17.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3105, allocations: 6.781 kB / 378 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3105, allocations: 3.719 kB / 378 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.3112, allocations: 216 kB / 378.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3115, allocations: 78.45 kB / 378.3 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.3161, allocations: 3.135 MB / 381.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3166, allocations: 83.67 kB / 381.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3166, allocations: 24.36 kB / 381.5 MB, free: 14.84 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.0002183/0.3169, allocations: 186.7 kB / 381.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3169, allocations: 48.34 kB / 381.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.317, allocations: 55.58 kB / 381.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.317, allocations: 9.297 kB / 381.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3171, allocations: 0 / 381.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3171, allocations: 2.062 kB / 381.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.3193, allocations: 1.28 MB / 383.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3193, allocations: 1.25 kB / 383.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3195, allocations: 35.52 kB / 383.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006433/0.3202, allocations: 217.7 kB / 383.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3202, allocations: 8.438 kB / 383.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.3243, allocations: 3.055 MB / 386.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3243, allocations: 3.812 kB / 386.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.3264, allocations: 0.9353 MB / 387.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3265, allocations: 130.6 kB / 387.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.3266, allocations: 10.89 kB / 387.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.327, allocations: 39.34 kB / 387.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3271, allocations: 35.38 kB / 387.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3271, allocations: 12.25 kB / 387.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.3275, allocations: 306.4 kB / 387.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3275, allocations: 0.75 kB / 387.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007667/0.3283, allocations: 186.5 kB / 388.1 MB, free: 10.98 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.0001324/0.3284, allocations: 111.6 kB / 388.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3302, allocations: 0.688 MB / 388.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3302, allocations: 1.094 kB / 388.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.331, allocations: 429.3 kB / 389.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.3315, allocations: 93.3 kB / 389.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3332, allocations: 0.9545 MB / 390.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3336, allocations: 0.8678 MB / 391.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.3337, allocations: 33.88 kB / 391.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3337, allocations: 1.281 kB / 391.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01208/0.3458, allocations: 8.426 MB / 399.6 MB, free: 4.992 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches