Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2286, allocations: 50.55 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004207/0.2328, allocations: 3.373 MB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2342, allocations: 0.8688 MB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2344, allocations: 7.938 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2345, allocations: 63.36 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.2348, allocations: 123 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.2351, allocations: 147.8 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.2355, allocations: 0.4941 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.2358, allocations: 173 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.236, allocations: 187.4 kB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.2363, allocations: 207.1 kB / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.2363, allocations: 48 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2364, allocations: 52 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.2365, allocations: 99.62 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2367, allocations: 218.9 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.2372, allocations: 0.5696 MB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2372, allocations: 0 / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2372, allocations: 0 / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.2372, allocations: 4 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001095/0.2383, allocations: 0.7057 MB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2384, allocations: 12.03 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2386, allocations: 56.39 kB / 417.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.239, allocations: 320.6 kB / 417.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.239, allocations: 25.38 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.239, allocations: 40.12 kB / 417.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.2397, allocations: 390.1 kB / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2397, allocations: 0 / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.2398, allocations: 16 kB / 418.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.2398, allocations: 8 kB / 418.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.2404, allocations: 299.9 kB / 418.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2425, allocations: 1.435 MB / 419.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.2431, allocations: 238.7 kB / 420.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2433, allocations: 92.81 kB / 420.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2434, allocations: 4 kB / 420.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2434, allocations: 34.56 kB / 420.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2434, allocations: 4 kB / 420.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002225/0.2456, allocations: 0.7615 MB / 421 MB, free: 6.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2457, allocations: 55.39 kB / 421 MB, free: 6.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.246, allocations: 316.5 kB / 421.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2461, allocations: 25.7 kB / 421.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2462, allocations: 235.6 kB / 421.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.2463, allocations: 55.19 kB / 421.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.2463, allocations: 53.61 kB / 421.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2465, allocations: 338.8 kB / 422 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2467, allocations: 83.95 kB / 422.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2469, allocations: 165.3 kB / 422.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.2474, allocations: 243.7 kB / 422.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2474, allocations: 4 kB / 422.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009705/0.2484, allocations: 422.8 kB / 422.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2484, allocations: 7.984 kB / 422.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2484, allocations: 8.062 kB / 423 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.2488, allocations: 109.6 kB / 423.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.249, allocations: 39.92 kB / 423.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.2528, allocations: 3.564 MB / 426.7 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.253, allocations: 35.69 kB / 426.7 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2531, allocations: 12 kB / 426.7 MB, free: 100 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.2533, allocations: 157.8 kB / 426.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.2533, allocations: 35.56 kB / 426.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.2534, allocations: 34.33 kB / 426.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2534, allocations: 0 / 426.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2534, allocations: 0 / 426.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2534, allocations: 3.938 kB / 426.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.2538, allocations: 365.3 kB / 427.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2538, allocations: 3.938 kB / 427.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.2539, allocations: 12 kB / 427.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.2542, allocations: 125.8 kB / 427.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2542, allocations: 4 kB / 427.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.2575, allocations: 3.468 MB / 430.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2575, allocations: 0 / 430.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.2584, allocations: 448.5 kB / 431.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.2585, allocations: 100.8 kB / 431.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.2585, allocations: 7.984 kB / 431.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2587, allocations: 27.98 kB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2588, allocations: 7.984 kB / 431.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2588, allocations: 8 kB / 431.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.259, allocations: 223.1 kB / 431.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.259, allocations: 0 / 431.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.2595, allocations: 103.7 kB / 431.8 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.2597, allocations: 99.25 kB / 431.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2607, allocations: 0.515 MB / 432.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2608, allocations: 0 / 432.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.2612, allocations: 349.6 kB / 432.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2616, allocations: 51.45 kB / 432.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2627, allocations: 0.5958 MB / 433.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.263, allocations: 0.7834 MB / 434.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.2631, allocations: 23.38 kB / 434.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2631, allocations: 0 / 434.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Templates: time 0.008232/0.2713, allocations: 6.777 MB / 441 MB, free: 1.324 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches