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.001621/0.001621, allocations: 117 kB / 18.41 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 200.5 kB / 19.36 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 67.97 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07483/0.07594, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003929/0.07989, allocations: 3.374 MB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.08124, allocations: 0.8689 MB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.08146, allocations: 4 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.08167, allocations: 71.3 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.08191, allocations: 126.9 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.08225, allocations: 143.8 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.08271, allocations: 0.4902 MB / 364 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.08297, allocations: 177 kB / 364.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.08324, allocations: 187.3 kB / 364.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.08347, allocations: 207 kB / 364.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.08354, allocations: 48 kB / 364.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.08363, allocations: 56 kB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.0837, allocations: 95.75 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.08387, allocations: 222.9 kB / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.08431, allocations: 0.5684 MB / 365.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.08433, allocations: 0 / 365.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08433, allocations: 0 / 365.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.08435, allocations: 4 kB / 365.5 MB, free: 6.684 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009872/0.08534, allocations: 0.6979 MB / 366.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.08538, allocations: 8.031 kB / 366.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.08557, allocations: 60.36 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.08595, allocations: 332.6 kB / 366.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.08598, allocations: 25.38 kB / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.08603, allocations: 40.12 kB / 366.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.08663, allocations: 386.2 kB / 367.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.08665, allocations: 0 / 367.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.08668, allocations: 12 kB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.0867, allocations: 12 kB / 367.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.08727, allocations: 303.8 kB / 367.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.08919, allocations: 1.428 MB / 368.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.08976, allocations: 238.7 kB / 369 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.08996, allocations: 100.8 kB / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.08999, allocations: 0 / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.09001, allocations: 34.56 kB / 369.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.09002, allocations: 0 / 369.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00193/0.09195, allocations: 0.7549 MB / 369.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.09199, allocations: 55.39 kB / 370 MB, free: 1.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.09228, allocations: 320.4 kB / 370.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.09231, allocations: 33.7 kB / 370.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.09243, allocations: 227.7 kB / 370.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.09247, allocations: 59.19 kB / 370.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.09255, allocations: 53.61 kB / 370.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.09266, allocations: 330.8 kB / 371 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.09285, allocations: 91.89 kB / 371.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.09308, allocations: 157.4 kB / 371.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.09349, allocations: 247.7 kB / 371.5 MB, free: 376 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.09351, allocations: 0 / 371.5 MB, free: 376 kB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.1289/0.2224, allocations: 424.4 kB / 371.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.2224, allocations: 8.484 kB / 371.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2225, allocations: 3.844 kB / 371.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.223, allocations: 118 kB / 372 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2231, allocations: 37.25 kB / 372.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.2264, allocations: 3.569 MB / 375.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2267, allocations: 38.56 kB / 375.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2267, allocations: 9.203 kB / 375.7 MB, free: 17.59 MB / 302.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.000139/0.2268, allocations: 161.4 kB / 375.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2269, allocations: 29.47 kB / 375.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.227, allocations: 29.28 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.227, allocations: 1.875 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.227, allocations: 4.469 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.227, allocations: 0.7031 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2273, allocations: 372.1 kB / 376.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2273, allocations: 0 / 376.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.2274, allocations: 13.31 kB / 376.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.2278, allocations: 116.3 kB / 376.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2278, allocations: 1.469 kB / 376.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.2304, allocations: 3.469 MB / 379.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2304, allocations: 0 / 379.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.2312, allocations: 440.2 kB / 380.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.2312, allocations: 107.9 kB / 380.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.2313, allocations: 5.562 kB / 380.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2315, allocations: 24.28 kB / 380.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.2315, allocations: 16.11 kB / 380.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2316, allocations: 7.547 kB / 380.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.2318, allocations: 221.5 kB / 380.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2318, allocations: 0 / 380.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.2322, allocations: 102.1 kB / 380.8 MB, free: 13.5 MB / 302.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 8.916e-05/0.2323, allocations: 107.6 kB / 380.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009153/0.2332, allocations: 0.5171 MB / 381.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2333, allocations: 0 / 381.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.2336, allocations: 347.4 kB / 381.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.234, allocations: 49.94 kB / 381.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.2349, allocations: 0.578 MB / 382.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2351, allocations: 0.7784 MB / 383.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.796e-05/0.2352, allocations: 33.34 kB / 383.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2352, allocations: 19.47 kB / 383.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2352, allocations: 0 / 383.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Templates: time 0.9887/1.224, allocations: 3.939 MB / 387.1 MB, free: 11.53 MB / 302.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 -s gbode -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