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.001763/0.001763, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002223/0.002223, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.66/1.66, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001761/0.001761, allocations: 47.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3617, allocations: 53.36 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.008523/0.3702, allocations: 4.056 MB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.3744, allocations: 1.223 MB / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.375, allocations: 15.94 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.3757, allocations: 138.7 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007457/0.3765, allocations: 210.3 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.3773, allocations: 223.5 kB / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3785, allocations: 0.763 MB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005391/0.379, allocations: 193 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.3796, allocations: 298.9 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.3802, allocations: 338.5 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3803, allocations: 64 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3805, allocations: 68 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.3807, allocations: 147.5 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.3811, allocations: 286.6 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3823, allocations: 0.7621 MB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3823, allocations: 0 / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.721e-06/0.3823, allocations: 3.984 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3823, allocations: 0 / 441.1 MB, free: 13.97 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.002403/0.3847, allocations: 0.9577 MB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.3848, allocations: 8.031 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.3852, allocations: 96.44 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.386, allocations: 364.2 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.3861, allocations: 41.69 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3862, allocations: 60.31 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.3878, allocations: 0.7291 MB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.3878, allocations: 0 / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.3879, allocations: 20 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3879, allocations: 16 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3892, allocations: 425 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.3927, allocations: 1.553 MB / 445.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3937, allocations: 350.2 kB / 445.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.395, allocations: 417.1 kB / 446.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.3951, allocations: 12.27 kB / 446.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.396, allocations: 482.1 kB / 446.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.324e-06/0.396, allocations: 0 / 446.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004125/0.4001, allocations: 1.098 MB / 447.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004128/0.4005, allocations: 243.3 kB / 447.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.4012, allocations: 417.8 kB / 448.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.4013, allocations: 33.7 kB / 448.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.4016, allocations: 328.6 kB / 448.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.4018, allocations: 146.8 kB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.402, allocations: 94.14 kB / 448.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.4022, allocations: 358.7 kB / 449.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.4026, allocations: 148.9 kB / 449.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.4033, allocations: 0.4929 MB / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.4042, allocations: 443.4 kB / 450.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4042, allocations: 0 / 450.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00198/0.4062, allocations: 0.7442 MB / 451.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.4062, allocations: 11.98 kB / 451.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.4063, allocations: 8 kB / 451.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/0.4072, allocations: 180.8 kB / 451.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.4076, allocations: 87.78 kB / 451.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.4127, allocations: 2.626 MB / 454 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.4133, allocations: 87.67 kB / 454.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.4133, allocations: 16 kB / 454.1 MB, free: 336 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.0004264/0.4137, allocations: 185.7 kB / 454.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.4138, allocations: 51.67 kB / 454.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.4139, allocations: 52.8 kB / 454.4 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4139, allocations: 4 kB / 454.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.414, allocations: 3.938 kB / 454.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.414, allocations: 7.875 kB / 454.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.4165, allocations: 1.102 MB / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4165, allocations: 0 / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.4167, allocations: 43.97 kB / 455.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000588/0.4173, allocations: 183.5 kB / 455.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.4173, allocations: 8 kB / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/0.4222, allocations: 2.615 MB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4222, allocations: 4 kB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.4246, allocations: 0.8987 MB / 459.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4248, allocations: 59.62 kB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.4248, allocations: 12 kB / 459.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.4252, allocations: 39.95 kB / 459.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4253, allocations: 31.94 kB / 459.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4253, allocations: 12 kB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.4258, allocations: 291.1 kB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4258, allocations: 0 / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008842/0.4266, allocations: 183.7 kB / 459.9 MB, free: 10.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 (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.000282/0.4269, allocations: 115.1 kB / 460 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.4286, allocations: 0.5571 MB / 460.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4286, allocations: 4 kB / 460.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.4294, allocations: 382.9 kB / 460.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.43, allocations: 57.64 kB / 461 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.4326, allocations: 0.9446 MB / 461.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.4331, allocations: 263.6 kB / 462.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.4333, allocations: 48.16 kB / 462.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.4334, allocations: 27.44 kB / 462.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4334, allocations: 0 / 462.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01838/0.4518, allocations: 7.502 MB / 469.7 MB, free: 0.5391 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/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.393619517999468]