Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 181.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 371 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2696, allocations: 52.18 MB / 423.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006357/0.2759, allocations: 4.488 MB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.2787, allocations: 1.226 MB / 428.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.2791, allocations: 19.88 kB / 428.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.2796, allocations: 138.7 kB / 429 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.2802, allocations: 210.3 kB / 429.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.2809, allocations: 199.6 kB / 429.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2819, allocations: 0.7552 MB / 430.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.2824, allocations: 195.1 kB / 430.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.2829, allocations: 298.9 kB / 430.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.2834, allocations: 322.5 kB / 431 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2835, allocations: 68 kB / 431 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2836, allocations: 64 kB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2838, allocations: 151.4 kB / 431.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.2842, allocations: 338.3 kB / 431.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009718/0.2852, allocations: 0.7519 MB / 432.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2852, allocations: 0 / 432.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2852, allocations: 0 / 432.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2852, allocations: 4 kB / 432.3 MB, free: 5.434 MB / 334.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.002206/0.2874, allocations: 0.9344 MB / 433.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2874, allocations: 16.02 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2876, allocations: 76.47 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.2882, allocations: 352.4 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.2883, allocations: 41.69 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.2884, allocations: 52.38 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.2896, allocations: 0.5533 MB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2896, allocations: 3.953 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.2897, allocations: 20 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2897, allocations: 16 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.2906, allocations: 421 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.294, allocations: 1.751 MB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.2948, allocations: 357.7 kB / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.2959, allocations: 428.9 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.2959, allocations: 8.312 kB / 437.3 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000683/0.2966, allocations: 298.4 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/0.2966, allocations: 0 / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004076/0.3007, allocations: 1.11 MB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.3009, allocations: 235.3 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.3017, allocations: 433.9 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.3018, allocations: 37.64 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.302, allocations: 316.8 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.3022, allocations: 150.7 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3024, allocations: 90.14 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.3026, allocations: 362.7 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.303, allocations: 148.9 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.3035, allocations: 321 kB / 440.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.3043, allocations: 439.2 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3043, allocations: 0 / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002075/0.3064, allocations: 0.7519 MB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3064, allocations: 8 kB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3064, allocations: 0 / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.3072, allocations: 188.7 kB / 442.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.3075, allocations: 83.83 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.3124, allocations: 2.695 MB / 444.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.313, allocations: 83.64 kB / 445 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.3131, allocations: 20 kB / 445 MB, free: 8.18 MB / 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.0003578/0.3134, allocations: 177.8 kB / 445.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.3135, allocations: 55.61 kB / 445.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3136, allocations: 52.88 kB / 445.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3136, allocations: 11.98 kB / 445.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3136, allocations: 3.984 kB / 445.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3136, allocations: 3.984 kB / 445.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.3162, allocations: 1.214 MB / 446.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3162, allocations: 8 kB / 446.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3164, allocations: 47.91 kB / 446.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006085/0.317, allocations: 184.8 kB / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3171, allocations: 8 kB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.3216, allocations: 2.673 MB / 449.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3216, allocations: 0 / 449.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.3239, allocations: 0.8987 MB / 450.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.324, allocations: 51.61 kB / 450.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.3241, allocations: 11.98 kB / 450.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.3245, allocations: 48.03 kB / 450.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3246, allocations: 35.81 kB / 450.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.3246, allocations: 12 kB / 450.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.325, allocations: 299.1 kB / 450.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.325, allocations: 3.938 kB / 450.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007316/0.3258, allocations: 175.7 kB / 451 MB, free: 2.035 MB / 350.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.0001836/0.326, allocations: 115.2 kB / 451.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.3273, allocations: 0.5648 MB / 451.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3273, allocations: 3.938 kB / 451.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.3281, allocations: 378.8 kB / 452 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3286, allocations: 81.73 kB / 452.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3304, allocations: 0.9217 MB / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3309, allocations: 0.8672 MB / 453.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.3311, allocations: 40.38 kB / 453.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.3312, allocations: 31.44 kB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3312, allocations: 4 kB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01528/0.3465, allocations: 7.698 MB / 461.7 MB, free: 7.328 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8319557113572955]