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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009666/0.0009666, allocations: 101.9 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009235/0.0009235, allocations: 55.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2199, allocations: 50.45 MB / 407.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004033/0.2239, allocations: 4.498 MB / 411.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2258, allocations: 1.242 MB / 412.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.2262, allocations: 15.94 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2266, allocations: 115.1 kB / 412.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2269, allocations: 170.7 kB / 413.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2273, allocations: 179.8 kB / 413.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.2278, allocations: 0.7317 MB / 414 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.2281, allocations: 239.4 kB / 414.2 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.2283, allocations: 270.9 kB / 414.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.2286, allocations: 310.5 kB / 414.8 MB, free: 20.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.2287, allocations: 44 kB / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2288, allocations: 44 kB / 414.9 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.2289, allocations: 131.4 kB / 415 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2291, allocations: 318.3 kB / 415.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.2295, allocations: 0.7137 MB / 416 MB, free: 18.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2295, allocations: 4 kB / 416 MB, free: 18.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2296, allocations: 0 / 416 MB, free: 18.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2296, allocations: 0 / 416 MB, free: 18.82 MB / 298.7 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.001499/0.2311, allocations: 0.9587 MB / 417 MB, free: 17.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2311, allocations: 16.03 kB / 417 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.2314, allocations: 88.08 kB / 417.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.2319, allocations: 413.7 kB / 417.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2319, allocations: 37.69 kB / 417.5 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.232, allocations: 52.38 kB / 417.6 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.2329, allocations: 0.5536 MB / 418.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2329, allocations: 0 / 418.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.233, allocations: 27.98 kB / 418.2 MB, free: 16.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.233, allocations: 16 kB / 418.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.2338, allocations: 417 kB / 418.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.2362, allocations: 1.84 MB / 420.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.2368, allocations: 0.5329 MB / 421 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.2376, allocations: 422.8 kB / 421.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.2377, allocations: 16.27 kB / 421.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.2381, allocations: 294.2 kB / 421.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/0.2381, allocations: 0 / 421.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.003738/0.2419, allocations: 1.31 MB / 423 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.2419, allocations: 243.3 kB / 423.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.2423, allocations: 433.8 kB / 423.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2423, allocations: 33.7 kB / 423.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2425, allocations: 312.1 kB / 424 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.2425, allocations: 141.9 kB / 424.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2427, allocations: 98.16 kB / 424.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.2427, allocations: 358.8 kB / 424.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.2431, allocations: 149 kB / 424.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.2435, allocations: 321.6 kB / 425 MB, free: 9.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.2441, allocations: 443.5 kB / 425.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2441, allocations: 4 kB / 425.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001561/0.2457, allocations: 0.7867 MB / 426.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2457, allocations: 10.8 kB / 426.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2457, allocations: 8.062 kB / 426.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.2464, allocations: 208.7 kB / 426.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2466, allocations: 75.84 kB / 426.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.2505, allocations: 2.862 MB / 429.4 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.251, allocations: 87.47 kB / 429.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.251, allocations: 16 kB / 429.5 MB, free: 4.68 MB / 298.7 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.0001948/0.2512, allocations: 185.7 kB / 429.7 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.2513, allocations: 51.44 kB / 429.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.275e-05/0.2514, allocations: 60.84 kB / 429.8 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2514, allocations: 8 kB / 429.8 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2514, allocations: 4 kB / 429.8 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2514, allocations: 0 / 429.8 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.2533, allocations: 1.281 MB / 431.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2533, allocations: 4 kB / 431.1 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2534, allocations: 43.84 kB / 431.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/0.254, allocations: 211.7 kB / 431.4 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.254, allocations: 4 kB / 431.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.2574, allocations: 2.782 MB / 434.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2574, allocations: 4 kB / 434.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.2694, allocations: 6.811 MB / 441 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2695, allocations: 132.3 kB / 441.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.2696, allocations: 12 kB / 441.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.27, allocations: 39.97 kB / 441.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2701, allocations: 32.02 kB / 441.2 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2701, allocations: 12 kB / 441.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000334/0.2704, allocations: 311.1 kB / 441.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2705, allocations: 0 / 441.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008013/0.2713, allocations: 251.5 kB / 441.7 MB, free: 7.961 MB / 314.7 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.0001562/0.2714, allocations: 120.9 kB / 441.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.273, allocations: 0.6606 MB / 442.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.273, allocations: 7.938 kB / 442.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.2737, allocations: 421.1 kB / 442.9 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2742, allocations: 85.45 kB / 443 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.2767, allocations: 1.685 MB / 444.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2771, allocations: 0.8746 MB / 445.6 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.2774, allocations: 52.45 kB / 445.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.2775, allocations: 31.44 kB / 445.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2775, allocations: 0 / 445.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of Templates: time 0.01381/0.2913, allocations: 8.6 MB / 454.3 MB, free: 11.4 MB / 330.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches