Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.121/1.121, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001751/0.0001751, allocations: 8.234 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07159/0.07177, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003569/0.07538, allocations: 4.094 MB / 363.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.07685, allocations: 1.262 MB / 364.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.07702, allocations: 11.94 kB / 364.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.0773, allocations: 115.1 kB / 364.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.07759, allocations: 166.7 kB / 364.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.07791, allocations: 191.7 kB / 365.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000544/0.07847, allocations: 0.7278 MB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.07876, allocations: 231.4 kB / 366 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.07903, allocations: 250.9 kB / 366.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.07931, allocations: 294.4 kB / 366.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.07937, allocations: 32 kB / 366.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.07946, allocations: 40 kB / 366.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.07955, allocations: 111.5 kB / 366.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.07979, allocations: 332 kB / 367.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.08029, allocations: 0.6967 MB / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.0803, allocations: 0 / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08031, allocations: 0 / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.08032, allocations: 4 kB / 367.8 MB, free: 4.707 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.001199/0.08152, allocations: 0.8575 MB / 368.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.08156, allocations: 12.03 kB / 368.6 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.08182, allocations: 92.08 kB / 368.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.08224, allocations: 425.7 kB / 369.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.08227, allocations: 37.69 kB / 369.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.08235, allocations: 56.38 kB / 369.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.08318, allocations: 0.5575 MB / 369.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.08321, allocations: 4 kB / 369.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.08325, allocations: 20 kB / 369.8 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.08327, allocations: 12 kB / 369.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.08403, allocations: 437 kB / 370.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.08649, allocations: 1.863 MB / 372.1 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1165/0.203, allocations: 0.5345 MB / 372.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.2039, allocations: 424.5 kB / 373.1 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.204, allocations: 10.31 kB / 373.1 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.2044, allocations: 302.2 kB / 373.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.2044, allocations: 1.125 kB / 373.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003598/0.208, allocations: 1.387 MB / 374.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2081, allocations: 239 kB / 375 MB, free: 18.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.2085, allocations: 441.9 kB / 375.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2086, allocations: 34.77 kB / 375.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2087, allocations: 315.3 kB / 375.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2088, allocations: 137.4 kB / 375.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.2089, allocations: 45.36 kB / 375.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.209, allocations: 357 kB / 376.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.2093, allocations: 164.2 kB / 376.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.2096, allocations: 324.8 kB / 376.8 MB, free: 17.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.2102, allocations: 462 kB / 377.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2103, allocations: 4.984 kB / 377.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001539/0.2118, allocations: 0.8214 MB / 378.1 MB, free: 16.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2118, allocations: 6.375 kB / 378.1 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2118, allocations: 4.188 kB / 378.1 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.2124, allocations: 218 kB / 378.3 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.2127, allocations: 81 kB / 378.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.2163, allocations: 2.916 MB / 381.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.2167, allocations: 87.48 kB / 381.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.2167, allocations: 22.81 kB / 381.4 MB, free: 14.86 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.0001541/0.2169, allocations: 183.6 kB / 381.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.2169, allocations: 49.17 kB / 381.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.217, allocations: 57.69 kB / 381.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.217, allocations: 5.094 kB / 381.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.217, allocations: 4.125 kB / 381.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2171, allocations: 1.828 kB / 381.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.2189, allocations: 1.321 MB / 383 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.219, allocations: 0 / 383 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.2191, allocations: 41.56 kB / 383 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.2196, allocations: 214.8 kB / 383.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2197, allocations: 12.17 kB / 383.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.2228, allocations: 2.819 MB / 386.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2228, allocations: 5.078 kB / 386.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2245, allocations: 0.9737 MB / 387.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.2246, allocations: 134.2 kB / 387.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.2247, allocations: 7.188 kB / 387.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.225, allocations: 53.84 kB / 387.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.2251, allocations: 31.34 kB / 387.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2251, allocations: 9.312 kB / 387.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.2254, allocations: 309.8 kB / 387.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2254, allocations: 0 / 387.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2259, allocations: 183.1 kB / 387.8 MB, free: 11.18 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.0001002/0.226, allocations: 113.5 kB / 387.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2272, allocations: 0.7018 MB / 388.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2272, allocations: 0 / 388.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.2278, allocations: 428.3 kB / 389 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.2283, allocations: 87.64 kB / 389.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2295, allocations: 1.18 MB / 390.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2298, allocations: 0.864 MB / 391.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.2299, allocations: 53.7 kB / 391.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.23, allocations: 30.77 kB / 391.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.23, allocations: 0 / 391.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Templates: time 0.009051/0.2391, allocations: 7.024 MB / 398.2 MB, free: 5.988 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches