Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 52.06 kB / 373.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 53.33 MB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.2297/0.3414, allocations: 4.496 MB / 431.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.3445, allocations: 1.288 MB / 432.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.3448, allocations: 17.41 kB / 432.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.3453, allocations: 144.2 kB / 432.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.3457, allocations: 208.9 kB / 433 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.3462, allocations: 222.1 kB / 433.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.347, allocations: 0.7613 MB / 434 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.3474, allocations: 193.7 kB / 434.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.3479, allocations: 304.7 kB / 434.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.3484, allocations: 327.6 kB / 434.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.3485, allocations: 64.81 kB / 434.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.3487, allocations: 71.16 kB / 434.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3488, allocations: 147.7 kB / 435.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.3492, allocations: 341.8 kB / 435.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.3504, allocations: 0.7632 MB / 436.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3504, allocations: 0 / 436.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3504, allocations: 1.125 kB / 436.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3504, allocations: 1.156 kB / 436.2 MB, free: 7.285 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.002196/0.3526, allocations: 0.9746 MB / 437.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3526, allocations: 10.81 kB / 437.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.353, allocations: 102.6 kB / 437.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.3536, allocations: 429.3 kB / 437.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.3537, allocations: 39.38 kB / 437.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.3538, allocations: 56.2 kB / 437.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3549, allocations: 0.5538 MB / 438.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3549, allocations: 1.641 kB / 438.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.3549, allocations: 25.53 kB / 438.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.355, allocations: 14.12 kB / 438.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009312/0.3559, allocations: 425.8 kB / 438.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.3592, allocations: 1.818 MB / 440.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.36, allocations: 0.4935 MB / 441.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.3611, allocations: 418.8 kB / 441.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.3612, allocations: 8.891 kB / 441.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.3617, allocations: 295.9 kB / 441.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.3617, allocations: 5.094 kB / 441.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004678/0.3664, allocations: 1.301 MB / 443.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3665, allocations: 237.7 kB / 443.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.3671, allocations: 440 kB / 443.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.3672, allocations: 33.3 kB / 443.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.3674, allocations: 319.5 kB / 444.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3675, allocations: 150.9 kB / 444.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3677, allocations: 96.39 kB / 444.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3678, allocations: 357.3 kB / 444.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3682, allocations: 150.2 kB / 444.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3686, allocations: 323.4 kB / 445.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.3694, allocations: 448.9 kB / 445.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3694, allocations: 5.094 kB / 445.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00196/0.3714, allocations: 0.7711 MB / 446.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.3714, allocations: 7.281 kB / 446.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3714, allocations: 4.094 kB / 446.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.3722, allocations: 226.3 kB / 446.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3725, allocations: 66.27 kB / 446.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.3779, allocations: 3.144 MB / 449.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.3786, allocations: 82.84 kB / 449.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.3787, allocations: 20.09 kB / 449.9 MB, free: 15.28 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.0003402/0.379, allocations: 183.1 kB / 450.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.3791, allocations: 49 kB / 450.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.3792, allocations: 56.64 kB / 450.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3792, allocations: 3.594 kB / 450.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3792, allocations: 3.938 kB / 450.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3792, allocations: 3.25 kB / 450.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.382, allocations: 1.278 MB / 451.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.382, allocations: 0.7031 kB / 451.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.3822, allocations: 37.3 kB / 451.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/0.383, allocations: 216.1 kB / 451.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.383, allocations: 11.81 kB / 451.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005456/0.3884, allocations: 3.05 MB / 454.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3884, allocations: 1.172 kB / 454.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.3909, allocations: 0.9359 MB / 455.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.3911, allocations: 133.6 kB / 455.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.3912, allocations: 7.797 kB / 455.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3916, allocations: 47.09 kB / 455.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3917, allocations: 32.8 kB / 455.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3918, allocations: 13.34 kB / 455.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004316/0.3922, allocations: 305.2 kB / 456.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 1.031 kB / 456.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008099/0.393, allocations: 190.8 kB / 456.4 MB, free: 11.39 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.0002065/0.3932, allocations: 118.1 kB / 456.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.395, allocations: 0.6533 MB / 457.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.395, allocations: 1.125 kB / 457.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008411/0.3958, allocations: 406.5 kB / 457.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.3964, allocations: 86.41 kB / 457.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3983, allocations: 0.9278 MB / 458.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.3989, allocations: 0.8717 MB / 459.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.3991, allocations: 48.17 kB / 459.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.3992, allocations: 30.81 kB / 459.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3992, allocations: 0 / 459.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of Templates: time 0.01594/0.4152, allocations: 7.815 MB / 467.4 MB, free: 5.777 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.98537090793252]