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.00143/0.00143, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001652/0.001652, allocations: 208.1 kB / 23.74 MB, free: 4.66 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.682/1.682, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.002069/0.002069, allocations: 47.92 kB / 378.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2827, allocations: 53.36 MB / 431.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006144/0.2888, allocations: 4.53 MB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.2911, allocations: 1.285 MB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.2913, allocations: 15.94 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.2918, allocations: 146.7 kB / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.2922, allocations: 214.2 kB / 437.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.2926, allocations: 215.6 kB / 438.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008113/0.2934, allocations: 0.763 MB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.2938, allocations: 198.7 kB / 439 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.2942, allocations: 302.9 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.2946, allocations: 330.4 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.2947, allocations: 64 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.2949, allocations: 68 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.295, allocations: 147.5 kB / 439.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.2953, allocations: 342.3 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008384/0.2962, allocations: 0.7649 MB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2962, allocations: 0 / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2962, allocations: 0 / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2962, allocations: 3.938 kB / 441 MB, free: 13.54 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.00181/0.298, allocations: 0.9538 MB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.298, allocations: 12.03 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.2983, allocations: 96.45 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.2989, allocations: 360.3 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2989, allocations: 37.69 kB / 442.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.299, allocations: 52.38 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3, allocations: 0.5611 MB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3, allocations: 0 / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.3001, allocations: 28 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3001, allocations: 12 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.301, allocations: 421 kB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.3041, allocations: 1.767 MB / 445.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007841/0.3049, allocations: 357.6 kB / 445.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3059, allocations: 417.1 kB / 446 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.306, allocations: 16.3 kB / 446.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.3065, allocations: 298.2 kB / 446.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.3065, allocations: 0 / 446.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00358/0.3101, allocations: 1.106 MB / 447.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.3103, allocations: 235.3 kB / 447.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.3108, allocations: 445.8 kB / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3108, allocations: 33.7 kB / 448.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.3111, allocations: 320.8 kB / 448.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3113, allocations: 146.8 kB / 448.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.3114, allocations: 94.12 kB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3116, allocations: 354.7 kB / 449.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.312, allocations: 152.9 kB / 449.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.3126, allocations: 328.8 kB / 449.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.3134, allocations: 439.5 kB / 449.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3134, allocations: 0 / 449.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001762/0.3151, allocations: 0.7481 MB / 450.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3152, allocations: 8 kB / 450.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3152, allocations: 8.062 kB / 450.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.3158, allocations: 180.7 kB / 450.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.3162, allocations: 87.83 kB / 451 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/0.3205, allocations: 2.694 MB / 453.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.321, allocations: 87.64 kB / 453.8 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.321, allocations: 20 kB / 453.8 MB, free: 228 kB / 350.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 (46): * Single equations (assignments): 45 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.3213, allocations: 177.7 kB / 453.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.3214, allocations: 47.91 kB / 454 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.3215, allocations: 57 kB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3215, allocations: 11.73 kB / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3215, allocations: 0 / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3215, allocations: 0 / 454.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3238, allocations: 1.234 MB / 455.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3238, allocations: 0 / 455.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3241, allocations: 47.91 kB / 455.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.3246, allocations: 187.5 kB / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3246, allocations: 4 kB / 455.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.3287, allocations: 2.677 MB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3288, allocations: 0 / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.3307, allocations: 0.9104 MB / 459.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.3308, allocations: 51.62 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.3309, allocations: 8 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3313, allocations: 52.02 kB / 459.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.3314, allocations: 31.88 kB / 459.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3314, allocations: 15.94 kB / 459.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003694/0.3318, allocations: 303.1 kB / 459.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3318, allocations: 0 / 459.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006617/0.3324, allocations: 183.7 kB / 459.7 MB, free: 10.05 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 (25): * Single equations (assignments): 23 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/0.3326, allocations: 115.1 kB / 459.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3338, allocations: 0.5578 MB / 460.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3338, allocations: 4.062 kB / 460.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.3345, allocations: 374.1 kB / 460.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.335, allocations: 97.12 kB / 460.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.3368, allocations: 0.9292 MB / 461.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3373, allocations: 0.8594 MB / 462.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3375, allocations: 52.36 kB / 462.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.3376, allocations: 35.42 kB / 462.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3376, allocations: 0 / 462.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of Templates: time 0.01539/0.353, allocations: 7.776 MB / 470.5 MB, free: 15.25 MB / 382.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: 5.055332815973088]