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.001573/0.001574, allocations: 121 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.12 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1491, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006072/0.1553, allocations: 4.485 MB / 363.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.158, allocations: 1.281 MB / 364.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.1584, allocations: 12 kB / 364.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.1589, allocations: 146.7 kB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.1595, allocations: 198.3 kB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.16, allocations: 215.5 kB / 365.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.1608, allocations: 0.7707 MB / 366 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.1613, allocations: 266.5 kB / 366.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.1617, allocations: 290.9 kB / 366.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.1621, allocations: 334.5 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.1622, allocations: 64 kB / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1624, allocations: 68 kB / 367 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1625, allocations: 147.5 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.1628, allocations: 350.2 kB / 367.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.1636, allocations: 0.7589 MB / 368.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1636, allocations: 0 / 368.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1637, allocations: 0 / 368.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1637, allocations: 0 / 368.3 MB, free: 3.938 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.001688/0.1654, allocations: 0.9625 MB / 369.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1654, allocations: 12.03 kB / 369.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.1657, allocations: 88.08 kB / 369.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1663, allocations: 425.8 kB / 369.7 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.1663, allocations: 45.62 kB / 369.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.1664, allocations: 56.38 kB / 369.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.1673, allocations: 0.5458 MB / 370.4 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1674, allocations: 7.906 kB / 370.4 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.1674, allocations: 24 kB / 370.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1674, allocations: 12 kB / 370.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.1683, allocations: 425 kB / 370.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/0.4052, allocations: 1.804 MB / 372.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.4062, allocations: 0.5352 MB / 373.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.4072, allocations: 423.4 kB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.4073, allocations: 12.8 kB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/0.4079, allocations: 295.9 kB / 373.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.525e-06/0.4079, allocations: 0 / 373.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004198/0.4121, allocations: 1.311 MB / 375.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.4122, allocations: 242 kB / 375.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.4128, allocations: 437.1 kB / 375.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.4129, allocations: 36.45 kB / 375.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4131, allocations: 315 kB / 376.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.4132, allocations: 137.1 kB / 376.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4134, allocations: 90.14 kB / 376.4 MB, free: 18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4135, allocations: 360.8 kB / 376.8 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.4139, allocations: 154.4 kB / 376.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.4144, allocations: 329.8 kB / 377.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.4151, allocations: 440.6 kB / 377.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.4151, allocations: 9.719 kB / 377.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001855/0.417, allocations: 0.7786 MB / 378.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.417, allocations: 6.938 kB / 378.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.4171, allocations: 7.75 kB / 378.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008947/0.418, allocations: 220.1 kB / 378.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.4183, allocations: 69.06 kB / 378.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.4232, allocations: 3.123 MB / 381.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.4238, allocations: 80.77 kB / 382 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.4238, allocations: 28.27 kB / 382 MB, free: 14.51 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.0003137/0.4242, allocations: 179.2 kB / 382.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.4243, allocations: 52.88 kB / 382.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4244, allocations: 61.73 kB / 382.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4244, allocations: 5.5 kB / 382.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4244, allocations: 0.75 kB / 382.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4244, allocations: 2.578 kB / 382.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.4269, allocations: 1.272 MB / 383.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4269, allocations: 1.062 kB / 383.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.4271, allocations: 39.5 kB / 383.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006568/0.4278, allocations: 214.9 kB / 383.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.4278, allocations: 11.48 kB / 383.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.4328, allocations: 3.059 MB / 386.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4329, allocations: 7 kB / 386.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.4351, allocations: 0.9301 MB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.4353, allocations: 135.1 kB / 388 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.4353, allocations: 11.58 kB / 388 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4357, allocations: 46.89 kB / 388 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4358, allocations: 31.83 kB / 388 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4359, allocations: 8.156 kB / 388.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004103/0.4363, allocations: 307.1 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4363, allocations: 4 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008526/0.4372, allocations: 187.7 kB / 388.5 MB, free: 10.64 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.0002229/0.4374, allocations: 110 kB / 388.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.4393, allocations: 0.6788 MB / 389.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4393, allocations: 1.438 kB / 389.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.44, allocations: 429 kB / 389.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.4406, allocations: 78.19 kB / 389.8 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4425, allocations: 0.9152 MB / 390.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.443, allocations: 0.8723 MB / 391.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.4433, allocations: 47.56 kB / 391.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.4433, allocations: 30.2 kB / 391.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4434, allocations: 5.156 kB / 391.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of Templates: time 0.01451/0.4579, allocations: 7.608 MB / 399.3 MB, free: 5.266 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/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