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.001469/0.001469, allocations: 109.1 kB / 21.18 MB, free: 0.7578 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.002052/0.002052, allocations: 209.1 kB / 24.49 MB, free: 4.148 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.434/1.434, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.001972/0.001972, allocations: 67.89 kB / 379.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2961, allocations: 53.41 MB / 432.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005133/0.3012, allocations: 3.427 MB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.303, allocations: 0.8532 MB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.3033, allocations: 7.938 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.3036, allocations: 67.36 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.3039, allocations: 130.9 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3043, allocations: 139.8 kB / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.305, allocations: 0.4901 MB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.3052, allocations: 125.4 kB / 437.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3055, allocations: 203.2 kB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.3058, allocations: 195.2 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.3059, allocations: 48 kB / 438.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.306, allocations: 52 kB / 438.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.3061, allocations: 103.6 kB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3063, allocations: 222.9 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.307, allocations: 0.581 MB / 439.1 MB, free: 72 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.307, allocations: 4 kB / 439.1 MB, free: 68 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.307, allocations: 4 kB / 439.1 MB, free: 64 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.307, allocations: 0 / 439.1 MB, free: 64 kB / 334.1 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.001066/0.3081, allocations: 0.6222 MB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.491e-05/0.3081, allocations: 12.03 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.3083, allocations: 56.64 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.3088, allocations: 280.8 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3088, allocations: 25.38 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.3088, allocations: 40.12 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.3094, allocations: 334.5 kB / 440.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3095, allocations: 4 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.3095, allocations: 12 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3095, allocations: 11.98 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.31, allocations: 275.9 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3123, allocations: 1.352 MB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.3127, allocations: 182.9 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3128, allocations: 72.83 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3128, allocations: 8 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3129, allocations: 42.5 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.3129, allocations: 0 / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001424/0.3143, allocations: 457.8 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3143, allocations: 55.34 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.3147, allocations: 324.5 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3147, allocations: 25.7 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3149, allocations: 236.2 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.315, allocations: 67.42 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.315, allocations: 57.69 kB / 443.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3152, allocations: 334.8 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3153, allocations: 67.97 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3156, allocations: 148.4 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3159, allocations: 219.4 kB / 444.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3159, allocations: 0 / 444.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007367/0.3166, allocations: 362.7 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3167, allocations: 8 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3167, allocations: 3.938 kB / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.3171, allocations: 109.8 kB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3173, allocations: 43.86 kB / 444.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.3208, allocations: 3.254 MB / 448.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.321, allocations: 39.72 kB / 448.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3211, allocations: 12 kB / 448.2 MB, free: 6.453 MB / 350.1 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.0001894/0.3212, allocations: 161.8 kB / 448.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.3213, allocations: 35.81 kB / 448.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3214, allocations: 34.25 kB / 448.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3214, allocations: 4 kB / 448.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3214, allocations: 0 / 448.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3214, allocations: 3.984 kB / 448.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.3218, allocations: 344.4 kB / 448.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3218, allocations: 3.938 kB / 448.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.3219, allocations: 12 kB / 448.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003699/0.3223, allocations: 109.6 kB / 448.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3223, allocations: 0 / 448.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.3257, allocations: 3.254 MB / 452.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3257, allocations: 64 / 452.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3264, allocations: 384.8 kB / 452.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.3265, allocations: 35.73 kB / 452.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3265, allocations: 4 kB / 452.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3267, allocations: 31.91 kB / 452.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.3268, allocations: 15.97 kB / 452.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3268, allocations: 4 kB / 452.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.3271, allocations: 231.1 kB / 452.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3271, allocations: 0 / 452.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005388/0.3276, allocations: 103.8 kB / 452.9 MB, free: 1.395 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: 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.0001539/0.3278, allocations: 110.4 kB / 453 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3285, allocations: 447.9 kB / 453.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3285, allocations: 0 / 453.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.329, allocations: 341.2 kB / 453.8 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.3295, allocations: 65.19 kB / 453.9 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3308, allocations: 0.6232 MB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3313, allocations: 0.7875 MB / 455.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.3314, allocations: 23.44 kB / 455.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3314, allocations: 0 / 455.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Templates: time 0.01031/0.3417, allocations: 7.039 MB / 462.3 MB, free: 7.859 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [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: 7.762102861888707]