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.0014/0.001401, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.83 kB / 307 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 50.54 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006662/0.1148, allocations: 4.473 MB / 362 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.1178, allocations: 1.281 MB / 363.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.1181, allocations: 11.94 kB / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1187, allocations: 146.7 kB / 363.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1191, allocations: 202.2 kB / 363.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1197, allocations: 215.6 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008378/0.1205, allocations: 0.7629 MB / 364.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.121, allocations: 270.5 kB / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.1214, allocations: 290.9 kB / 365.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1218, allocations: 330.5 kB / 365.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.122, allocations: 68 kB / 365.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1221, allocations: 68 kB / 365.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1223, allocations: 147.5 kB / 365.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.1226, allocations: 350.2 kB / 366.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.1234, allocations: 0.7437 MB / 366.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1235, allocations: 0 / 366.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1235, allocations: 3.938 kB / 366.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1235, allocations: 0 / 366.9 MB, free: 4.676 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.001891/0.1254, allocations: 0.9664 MB / 367.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1254, allocations: 12.03 kB / 367.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.1258, allocations: 88.08 kB / 367.9 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.1264, allocations: 417.8 kB / 368.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.1264, allocations: 41.69 kB / 368.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.1265, allocations: 52.38 kB / 368.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1276, allocations: 0.5574 MB / 369 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1276, allocations: 3.906 kB / 369 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.1277, allocations: 20 kB / 369 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.1277, allocations: 16 kB / 369 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009531/0.1287, allocations: 421 kB / 369.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1319, allocations: 1.832 MB / 371.3 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.192/0.3239, allocations: 0.5205 MB / 371.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.325, allocations: 424.4 kB / 372.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.3251, allocations: 10.25 kB / 372.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000703/0.3258, allocations: 297 kB / 372.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.3258, allocations: 0 / 372.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004271/0.3301, allocations: 1.31 MB / 373.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.3302, allocations: 243.5 kB / 374.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.3308, allocations: 436.7 kB / 374.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.3309, allocations: 40.17 kB / 374.5 MB, free: 19.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.3311, allocations: 320.7 kB / 374.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.3312, allocations: 133.7 kB / 375 MB, free: 18.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3314, allocations: 96.02 kB / 375.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.3315, allocations: 355.8 kB / 375.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3318, allocations: 150.3 kB / 375.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.3322, allocations: 323.4 kB / 375.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.3329, allocations: 448.4 kB / 376.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.333, allocations: 1.281 kB / 376.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001795/0.3348, allocations: 0.7817 MB / 377.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3348, allocations: 11.09 kB / 377.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3348, allocations: 6.688 kB / 377.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.3356, allocations: 219.8 kB / 377.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.3359, allocations: 73.61 kB / 377.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/0.3407, allocations: 3.123 MB / 380.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.3413, allocations: 89.23 kB / 380.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3413, allocations: 19.3 kB / 380.6 MB, free: 15.25 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.000263/0.3416, allocations: 179.6 kB / 380.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.3416, allocations: 54.22 kB / 380.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.3417, allocations: 58.45 kB / 380.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3418, allocations: 4.094 kB / 380.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3418, allocations: 0 / 380.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3418, allocations: 7.172 kB / 380.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.3444, allocations: 1.273 MB / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3444, allocations: 1.312 kB / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3446, allocations: 40.14 kB / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.3454, allocations: 217.6 kB / 382.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3454, allocations: 15.72 kB / 382.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/0.3503, allocations: 3.054 MB / 385.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3503, allocations: 4.719 kB / 385.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.3526, allocations: 0.9331 MB / 386.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3528, allocations: 126.1 kB / 386.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.3529, allocations: 14.33 kB / 386.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3532, allocations: 47.56 kB / 386.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3534, allocations: 31.25 kB / 386.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.3534, allocations: 12.75 kB / 386.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.3538, allocations: 306.7 kB / 387 MB, free: 11.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3538, allocations: 0 / 387 MB, free: 11.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.3546, allocations: 190.4 kB / 387.2 MB, free: 11.38 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.0002194/0.3549, allocations: 106.4 kB / 387.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.3567, allocations: 0.6861 MB / 388 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3568, allocations: 1.281 kB / 388 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.3576, allocations: 431.1 kB / 388.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.3581, allocations: 86.39 kB / 388.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3601, allocations: 0.9224 MB / 389.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3606, allocations: 0.8696 MB / 390.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.3608, allocations: 52.22 kB / 390.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.3609, allocations: 30.72 kB / 390.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3609, allocations: 1.281 kB / 390.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of Templates: time 0.01454/0.3755, allocations: 7.599 MB / 397.9 MB, free: 6.16 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.1.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