Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001311/0.001311, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001383/0.001383, allocations: 157.6 kB / 24.48 MB, free: 3.465 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.396/1.396, allocations: 173.4 MB / 201.1 MB, free: 12.58 MB / 190.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 52.14 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09239, allocations: 52.17 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004832/0.09722, allocations: 2.743 MB / 374.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.09916, allocations: 0.6973 MB / 375 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.09945, allocations: 7.938 kB / 375 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.09969, allocations: 47.56 kB / 375.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.1001, allocations: 107.1 kB / 375.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.1005, allocations: 123.8 kB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.1013, allocations: 410.4 kB / 375.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.1016, allocations: 95.61 kB / 375.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1019, allocations: 163.4 kB / 376 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.1023, allocations: 147.3 kB / 376.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1024, allocations: 40 kB / 376.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1025, allocations: 43.94 kB / 376.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1026, allocations: 71.77 kB / 376.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.1029, allocations: 147.4 kB / 376.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.1034, allocations: 458.3 kB / 376.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1035, allocations: 0 / 376.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1035, allocations: 0 / 376.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1035, allocations: 7.938 kB / 376.9 MB, free: 2.059 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001542/0.105, allocations: 0.5975 MB / 377.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.105, allocations: 8.031 kB / 377.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1052, allocations: 40.75 kB / 377.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.1057, allocations: 242 kB / 377.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1057, allocations: 20.88 kB / 377.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.1058, allocations: 24.38 kB / 377.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.107, allocations: 378.4 kB / 378.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.107, allocations: 7.938 kB / 378.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.1071, allocations: 12 kB / 378.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1071, allocations: 4 kB / 378.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.1085, allocations: 281.8 kB / 378.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.1115, allocations: 0.9882 MB / 379.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.113, allocations: 242.5 kB / 379.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.1135, allocations: 100.8 kB / 379.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1136, allocations: 3.938 kB / 379.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007983/0.1144, allocations: 237.1 kB / 380 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.1144, allocations: 0 / 380 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002856/0.1172, allocations: 0.5916 MB / 380.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.1173, allocations: 106.8 kB / 380.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.1177, allocations: 281.8 kB / 381 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1177, allocations: 29.7 kB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1179, allocations: 204 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1179, allocations: 43.64 kB / 381.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.118, allocations: 49.94 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1182, allocations: 334.8 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.1186, allocations: 137.9 kB / 381.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.1191, allocations: 290.4 kB / 382.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.12, allocations: 320.6 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.12, allocations: 0 / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001433/0.1214, allocations: 0.5014 MB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.1215, allocations: 36.58 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1215, allocations: 7.984 kB / 382.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.1219, allocations: 88.81 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1221, allocations: 51.89 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.1254, allocations: 1.93 MB / 385 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.1258, allocations: 59.81 kB / 385 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1258, allocations: 11.98 kB / 385 MB, free: 9.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.126, allocations: 157.8 kB / 385.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.126, allocations: 19.86 kB / 385.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.1261, allocations: 29.77 kB / 385.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1261, allocations: 0 / 385.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1261, allocations: 0 / 385.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1261, allocations: 4 kB / 385.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1264, allocations: 217.2 kB / 385.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1264, allocations: 0 / 385.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1265, allocations: 27.91 kB / 385.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.1269, allocations: 84.92 kB / 385.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1269, allocations: 4 kB / 385.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.1296, allocations: 1.84 MB / 387.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1296, allocations: 0 / 387.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1307, allocations: 369.6 kB / 387.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1308, allocations: 23.84 kB / 387.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1308, allocations: 4 kB / 387.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1311, allocations: 35.95 kB / 387.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.1312, allocations: 20.02 kB / 387.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1312, allocations: 7.984 kB / 387.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1314, allocations: 197.2 kB / 388.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1314, allocations: 0 / 388.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.1319, allocations: 83.81 kB / 388.1 MB, free: 6.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.132, allocations: 103.2 kB / 388.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.1335, allocations: 0.519 MB / 388.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1335, allocations: 0 / 388.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1341, allocations: 231.1 kB / 389 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1344, allocations: 48.59 kB / 389 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.1379, allocations: 0.9446 MB / 390 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.138, allocations: 142.9 kB / 390.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1381, allocations: 26.28 kB / 390.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.1382, allocations: 20.5 kB / 390.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1382, allocations: 0 / 390.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Templates: time 0.009265/0.1475, allocations: 4.082 MB / 394.2 MB, free: 15.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.249962936039083]