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.001261/0.001261, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 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.001418/0.001418, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 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 1.469/1.469, allocations: 230.2 MB / 255.2 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001932/0.001932, allocations: 67.88 kB / 374.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09778, allocations: 53.32 MB / 427.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004665/0.1024, allocations: 3.406 MB / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1039, allocations: 0.8649 MB / 432.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1041, allocations: 7.938 kB / 432.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1043, allocations: 71.34 kB / 432.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1987/0.303, allocations: 123.3 kB / 432.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3037, allocations: 145.5 kB / 432.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.3044, allocations: 0.4909 MB / 433 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.3047, allocations: 122.3 kB / 433.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.305, allocations: 193.2 kB / 433.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3052, allocations: 203.4 kB / 433.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/0.3053, allocations: 49.06 kB / 433.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3054, allocations: 51.66 kB / 433.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3055, allocations: 102.5 kB / 433.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3057, allocations: 221.9 kB / 433.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.3061, allocations: 0.5676 MB / 434.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3061, allocations: 0 / 434.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3061, allocations: 2 kB / 434.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3061, allocations: 3.281 kB / 434.5 MB, free: 7.938 MB / 350.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.001019/0.3072, allocations: 0.715 MB / 435.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3072, allocations: 9.125 kB / 435.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.3074, allocations: 55.05 kB / 435.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3078, allocations: 323 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3078, allocations: 27.28 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.3079, allocations: 34 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.3086, allocations: 394.3 kB / 436 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3086, allocations: 0 / 436 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.3086, allocations: 12.38 kB / 436 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3086, allocations: 8.688 kB / 436 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.3092, allocations: 306.5 kB / 436.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3114, allocations: 1.445 MB / 437.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.3121, allocations: 223.2 kB / 438 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.3123, allocations: 87.55 kB / 438.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3123, allocations: 2.312 kB / 438.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.3123, allocations: 37.48 kB / 438.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/0.3123, allocations: 0 / 438.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002253/0.3146, allocations: 0.7594 MB / 438.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.3146, allocations: 55.75 kB / 438.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3149, allocations: 309.2 kB / 439.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.315, allocations: 30.98 kB / 439.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3151, allocations: 235.9 kB / 439.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3151, allocations: 60.09 kB / 439.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.3152, allocations: 51.14 kB / 439.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.3153, allocations: 340.7 kB / 439.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3155, allocations: 85.47 kB / 440 MB, free: 5.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3157, allocations: 169.2 kB / 440.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.3162, allocations: 246.5 kB / 440.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3162, allocations: 1.156 kB / 440.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001015/0.3172, allocations: 424.3 kB / 440.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3172, allocations: 6.469 kB / 440.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3172, allocations: 3.219 kB / 440.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.3177, allocations: 117.4 kB / 441 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3179, allocations: 37.44 kB / 441 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.3214, allocations: 3.563 MB / 444.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3217, allocations: 41.14 kB / 444.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3217, allocations: 9.266 kB / 444.6 MB, free: 1.512 MB / 350.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.0001801/0.3219, allocations: 156.4 kB / 444.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.322, allocations: 30.97 kB / 444.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.322, allocations: 36.34 kB / 444.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.322, allocations: 2.375 kB / 444.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.322, allocations: 9.188 kB / 444.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.322, allocations: 1.828 kB / 444.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3224, allocations: 370.2 kB / 445.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3225, allocations: 0 / 445.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.3225, allocations: 14.28 kB / 445.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.3229, allocations: 114.2 kB / 445.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.323, allocations: 5.188 kB / 445.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.3267, allocations: 3.473 MB / 448.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3267, allocations: 1 kB / 448.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3277, allocations: 435.3 kB / 449.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3279, allocations: 110.7 kB / 449.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.3279, allocations: 2.109 kB / 449.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3281, allocations: 25.66 kB / 449.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.3282, allocations: 11.38 kB / 449.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3282, allocations: 11.73 kB / 449.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3285, allocations: 222.5 kB / 449.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3285, allocations: 1.156 kB / 449.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.3291, allocations: 97.12 kB / 449.7 MB, free: 13.36 MB / 366.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.0001615/0.3292, allocations: 108 kB / 449.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3305, allocations: 0.5059 MB / 450.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3305, allocations: 1.031 kB / 450.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.3309, allocations: 336.3 kB / 450.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.3314, allocations: 54.33 kB / 450.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3326, allocations: 0.6135 MB / 451.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3331, allocations: 0.7818 MB / 452.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.3331, allocations: 21.44 kB / 452.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3331, allocations: 0 / 452.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01065/0.3438, allocations: 6.796 MB / 458.9 MB, free: 9.723 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.553869396913797]