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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007723/0.0007723, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003536/0.003536, allocations: 156.7 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8743/0.8743, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.256e-05, allocations: 6.984 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004044/0.004077, allocations: 3.134 MB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005762, allocations: 0.8219 MB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.005981, allocations: 7.938 kB / 329.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.006174, allocations: 63.42 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.006442, allocations: 142.8 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.006835, allocations: 131.8 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.007382, allocations: 0.5246 MB / 330.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.007609, allocations: 113.4 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.00793, allocations: 287.4 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.008086, allocations: 151.5 kB / 331.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.008202, allocations: 48 kB / 331.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.008273, allocations: 52 kB / 331.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.008324, allocations: 107.6 kB / 331.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.008418, allocations: 151.6 kB / 331.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.008838, allocations: 0.5919 MB / 332.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.008843, allocations: 4 kB / 332.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008844, allocations: 0 / 332.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.008851, allocations: 0 / 332.1 MB, free: 8.906 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006992/0.00955, allocations: 0.6183 MB / 332.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.009586, allocations: 15.98 kB / 332.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.00973, allocations: 60.64 kB / 332.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.01021, allocations: 276.5 kB / 333.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.01023, allocations: 25.38 kB / 333.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.01026, allocations: 32.38 kB / 333.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.01069, allocations: 471.6 kB / 333.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.0107, allocations: 3.938 kB / 333.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.01073, allocations: 16 kB / 333.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01074, allocations: 16 kB / 333.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.01105, allocations: 283.8 kB / 333.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01228, allocations: 1.159 MB / 335.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.01258, allocations: 198.8 kB / 335.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.01267, allocations: 72.84 kB / 335.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01269, allocations: 3.984 kB / 335.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.01271, allocations: 38.55 kB / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.083e-06/0.01271, allocations: 0 / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008293/0.01354, allocations: 446 kB / 335.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.01357, allocations: 63.34 kB / 335.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.01377, allocations: 281.7 kB / 336.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01379, allocations: 33.7 kB / 336.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01389, allocations: 240 kB / 336.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.0142, allocations: 67.47 kB / 336.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.01426, allocations: 57.64 kB / 336.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.01435, allocations: 338.8 kB / 336.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.01443, allocations: 71.91 kB / 336.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.01455, allocations: 140.5 kB / 337.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.01476, allocations: 217.1 kB / 337.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01476, allocations: 0 / 337.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004103/0.01517, allocations: 358.8 kB / 337.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01519, allocations: 8 kB / 337.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.0152, allocations: 3.984 kB / 337.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.01547, allocations: 109.7 kB / 337.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.01556, allocations: 47.91 kB / 337.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.01762, allocations: 3.183 MB / 341 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01772, allocations: 35.72 kB / 341 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01774, allocations: 8 kB / 341 MB, free: 15.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.01786, allocations: 157.8 kB / 341.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.01789, allocations: 31.8 kB / 341.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.01792, allocations: 30.12 kB / 341.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01792, allocations: 4 kB / 341.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01793, allocations: 0 / 341.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.01793, allocations: 7.922 kB / 341.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.01814, allocations: 253.1 kB / 341.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01814, allocations: 0 / 341.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.01818, allocations: 19.92 kB / 341.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.01838, allocations: 101.6 kB / 341.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01839, allocations: 11.98 kB / 341.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.02067, allocations: 3.19 MB / 344.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02067, allocations: 4.062 kB / 344.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.02102, allocations: 376.7 kB / 345.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.02105, allocations: 31.78 kB / 345.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.02107, allocations: 4 kB / 345.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.02117, allocations: 23.98 kB / 345.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.02122, allocations: 19.91 kB / 345.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.02123, allocations: 12 kB / 345.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.02136, allocations: 197.2 kB / 345.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02136, allocations: 0 / 345.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.02171, allocations: 107.7 kB / 345.6 MB, free: 10.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.02183, allocations: 99.25 kB / 345.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.0223, allocations: 441 kB / 346.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0223, allocations: 0 / 346.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.02251, allocations: 345.7 kB / 346.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.02278, allocations: 43.73 kB / 346.5 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.02354, allocations: 0.6028 MB / 347.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.02366, allocations: 177.4 kB / 347.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.0237, allocations: 24.5 kB / 347.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0237, allocations: 0 / 347.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of Templates: time 0.006043/0.02975, allocations: 6.98 MB / 354.3 MB, free: 1.824 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:time,vOut.v [Calling sys.exit(0), Time elapsed: 4.571850919164717]