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.001918/0.001918, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002488/0.002488, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001745/0.001745, allocations: 47.92 kB / 378.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2755, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.008621/0.2841, allocations: 4.056 MB / 435.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.2878, allocations: 1.223 MB / 436.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.2882, allocations: 15.94 kB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.2888, allocations: 134.7 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.2895, allocations: 214.3 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.2902, allocations: 215.6 kB / 437.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.2914, allocations: 0.7669 MB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.2919, allocations: 179.1 kB / 438.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.2925, allocations: 302.8 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.293, allocations: 294.5 kB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.2931, allocations: 64 kB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.2933, allocations: 68 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2935, allocations: 147.5 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.2939, allocations: 286.6 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2951, allocations: 0.7637 MB / 440.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2951, allocations: 4 kB / 440.3 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2951, allocations: 3.938 kB / 440.3 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.2951, allocations: 0 / 440.3 MB, free: 14 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.002493/0.2976, allocations: 0.9499 MB / 441.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2976, allocations: 8.031 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.2981, allocations: 96.44 kB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.2989, allocations: 364.3 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.299, allocations: 41.69 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2991, allocations: 56.31 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3007, allocations: 0.729 MB / 442.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3007, allocations: 0 / 442.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.3008, allocations: 28 kB / 442.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3008, allocations: 12 kB / 442.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.302, allocations: 417 kB / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.3062, allocations: 1.557 MB / 444.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3072, allocations: 355.9 kB / 444.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3088, allocations: 409.2 kB / 445.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.3088, allocations: 4.328 kB / 445.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009157/0.3097, allocations: 490 kB / 445.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.435e-06/0.3097, allocations: 0 / 445.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.005227/0.3149, allocations: 1.098 MB / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.3152, allocations: 239.3 kB / 447.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.3159, allocations: 421.8 kB / 447.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.316, allocations: 33.7 kB / 447.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.3164, allocations: 328.6 kB / 447.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3166, allocations: 138.8 kB / 448 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3168, allocations: 102.1 kB / 448.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.317, allocations: 354.7 kB / 448.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.3175, allocations: 144.9 kB / 448.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.3183, allocations: 0.5007 MB / 449.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3195, allocations: 439.5 kB / 449.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3195, allocations: 0 / 449.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00258/0.3221, allocations: 0.7519 MB / 450.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3221, allocations: 8 kB / 450.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3221, allocations: 4 kB / 450.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/0.323, allocations: 180.8 kB / 450.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.3235, allocations: 91.77 kB / 450.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.3298, allocations: 2.639 MB / 453.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.3305, allocations: 83.64 kB / 453.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3305, allocations: 16 kB / 453.3 MB, free: 364 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.0004559/0.331, allocations: 181.7 kB / 453.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3311, allocations: 51.67 kB / 453.5 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3313, allocations: 56.8 kB / 453.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3313, allocations: 4 kB / 453.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3313, allocations: 3.938 kB / 453.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3313, allocations: 3.938 kB / 453.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.3347, allocations: 1.098 MB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3347, allocations: 0 / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.335, allocations: 51.91 kB / 454.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/0.3358, allocations: 183.8 kB / 454.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.3358, allocations: 8 kB / 454.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.3416, allocations: 2.617 MB / 457.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3416, allocations: 4 kB / 457.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.344, allocations: 0.8987 MB / 458.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3441, allocations: 55.56 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.3442, allocations: 11.98 kB / 458.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3446, allocations: 51.91 kB / 458.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.3446, allocations: 27.94 kB / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3447, allocations: 12.06 kB / 458.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000363/0.345, allocations: 291.1 kB / 458.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.345, allocations: 0 / 458.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007455/0.3458, allocations: 183.7 kB / 459.1 MB, free: 10.42 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.0001833/0.346, allocations: 111.2 kB / 459.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3473, allocations: 0.5609 MB / 459.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.3474, allocations: 4 kB / 459.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.3481, allocations: 378.8 kB / 460.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.3486, allocations: 64.62 kB / 460.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3506, allocations: 0.933 MB / 461.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3509, allocations: 263.6 kB / 461.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3511, allocations: 48.34 kB / 461.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.3512, allocations: 27.44 kB / 461.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3512, allocations: 0 / 461.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of Templates: time 0.01496/0.3661, allocations: 7.361 MB / 468.8 MB, free: 0.7109 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.9068349078297615]