Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001546/0.001546, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001711/0.001711, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.447/1.447, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.88 kB / 374.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 53.32 MB / 427.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.2/0.3059, allocations: 4.489 MB / 432.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3086, allocations: 1.287 MB / 433.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.3089, allocations: 11.97 kB / 433.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.3094, allocations: 146.9 kB / 433.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.3098, allocations: 213.7 kB / 434 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3104, allocations: 221 kB / 434.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.3111, allocations: 0.7594 MB / 435 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3115, allocations: 194.5 kB / 435.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.3119, allocations: 294.2 kB / 435.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.3123, allocations: 324.6 kB / 435.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3124, allocations: 68.84 kB / 435.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3126, allocations: 71.61 kB / 435.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3127, allocations: 148.6 kB / 436.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.313, allocations: 346.4 kB / 436.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.314, allocations: 0.7619 MB / 437.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.314, allocations: 1.188 kB / 437.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.314, allocations: 0 / 437.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.314, allocations: 1.125 kB / 437.2 MB, free: 7.352 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001934/0.3159, allocations: 0.9748 MB / 438.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.316, allocations: 10.73 kB / 438.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.3163, allocations: 94.91 kB / 438.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.3169, allocations: 431.9 kB / 438.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.3169, allocations: 43.56 kB / 438.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.317, allocations: 51.7 kB / 438.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3181, allocations: 0.55 MB / 439.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3181, allocations: 0 / 439.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.3182, allocations: 25.75 kB / 439.4 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.3182, allocations: 15.86 kB / 439.4 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.3191, allocations: 422.9 kB / 439.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.3223, allocations: 1.836 MB / 441.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.3232, allocations: 0.4933 MB / 442.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3242, allocations: 414.4 kB / 442.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3243, allocations: 5.516 kB / 442.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.3248, allocations: 298.8 kB / 442.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.3248, allocations: 0 / 442.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00428/0.3291, allocations: 1.303 MB / 444.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.3292, allocations: 238.4 kB / 444.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.3298, allocations: 438.9 kB / 444.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3298, allocations: 37.64 kB / 444.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.33, allocations: 315.1 kB / 445.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.3301, allocations: 151.4 kB / 445.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3302, allocations: 87.41 kB / 445.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3303, allocations: 357 kB / 445.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.3307, allocations: 149.5 kB / 445.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.3311, allocations: 332.4 kB / 446.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.3318, allocations: 440.3 kB / 446.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3318, allocations: 6.625 kB / 446.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001761/0.3335, allocations: 0.7804 MB / 447.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3336, allocations: 7.469 kB / 447.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3336, allocations: 3.625 kB / 447.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.3343, allocations: 218.9 kB / 447.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.3346, allocations: 70.47 kB / 447.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/0.3395, allocations: 3.142 MB / 450.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.3402, allocations: 80.84 kB / 450.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.3402, allocations: 20.39 kB / 450.9 MB, free: 15.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.3405, allocations: 187.4 kB / 451.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.3406, allocations: 50.56 kB / 451.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.3407, allocations: 53.56 kB / 451.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3407, allocations: 4.25 kB / 451.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3407, allocations: 1 kB / 451.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3407, allocations: 1.969 kB / 451.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.3433, allocations: 1.278 MB / 452.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3433, allocations: 1.906 kB / 452.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.3435, allocations: 36.39 kB / 452.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.3441, allocations: 221.1 kB / 452.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.3441, allocations: 7.234 kB / 452.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.3489, allocations: 3.057 MB / 455.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3489, allocations: 3.984 kB / 455.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.3512, allocations: 0.9232 MB / 456.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.3514, allocations: 138.8 kB / 456.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.3515, allocations: 7.484 kB / 456.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.3519, allocations: 50.84 kB / 456.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.352, allocations: 31.33 kB / 457 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.352, allocations: 9.578 kB / 457 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003967/0.3524, allocations: 309.4 kB / 457.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 457.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.3532, allocations: 188.1 kB / 457.5 MB, free: 11.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.3534, allocations: 117.2 kB / 457.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.355, allocations: 0.6549 MB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.355, allocations: 1 kB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.3558, allocations: 402.5 kB / 458.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.3563, allocations: 79.31 kB / 458.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3581, allocations: 0.9715 MB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.3587, allocations: 0.8643 MB / 460.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3588, allocations: 34.53 kB / 460.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3588, allocations: 0 / 460.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of Templates: time 0.01268/0.3714, allocations: 8.503 MB / 469.1 MB, free: 5.188 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.836551595013589]