Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 74.42 kB / 21.24 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002482/0.002482, allocations: 165.2 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 61.41 kB / 325.6 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1093, allocations: 53.4 MB / 379 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004714/0.1141, allocations: 2.764 MB / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1156, allocations: 0.7167 MB / 382.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1158, allocations: 4 kB / 382.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.116, allocations: 55.5 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1162, allocations: 103.1 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1165, allocations: 107.8 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.117, allocations: 410.4 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.1173, allocations: 95.59 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1174, allocations: 155.4 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1177, allocations: 159.2 kB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.1178, allocations: 40 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.1178, allocations: 40 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1179, allocations: 83.69 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1181, allocations: 143.3 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.1186, allocations: 466.2 kB / 384.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1186, allocations: 3.938 kB / 384.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1186, allocations: 0 / 384.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1186, allocations: 0 / 384.3 MB, free: 10.08 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001272/0.1199, allocations: 0.6014 MB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.12, allocations: 15.98 kB / 384.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.12, allocations: 32.75 kB / 384.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.1205, allocations: 249.9 kB / 385.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.1205, allocations: 21.03 kB / 385.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.1206, allocations: 24.38 kB / 385.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.1213, allocations: 367.5 kB / 385.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1213, allocations: 0 / 385.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1213, allocations: 15.94 kB / 385.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1213, allocations: 4 kB / 385.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.1221, allocations: 262.5 kB / 385.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.124, allocations: 0.9294 MB / 386.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/0.1248, allocations: 206.6 kB / 387 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1251, allocations: 96.78 kB / 387.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1251, allocations: 4 kB / 387.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.1256, allocations: 255.8 kB / 387.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.1256, allocations: 0 / 387.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001794/0.1274, allocations: 452.8 kB / 387.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1275, allocations: 136.5 kB / 387.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.1279, allocations: 273.8 kB / 388.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1279, allocations: 33.7 kB / 388.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1281, allocations: 204 kB / 388.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.1282, allocations: 55.53 kB / 388.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.1283, allocations: 53.69 kB / 388.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1284, allocations: 338.8 kB / 388.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1288, allocations: 117.6 kB / 388.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.1292, allocations: 303.5 kB / 389.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.1299, allocations: 295.8 kB / 389.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1299, allocations: 3.984 kB / 389.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001071/0.1309, allocations: 448.6 kB / 390 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.131, allocations: 36.98 kB / 390 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.131, allocations: 15.92 kB / 390 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.1314, allocations: 76.83 kB / 390.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1316, allocations: 51.84 kB / 390.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.1342, allocations: 1.838 MB / 392 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.1346, allocations: 47.81 kB / 392 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1346, allocations: 19.92 kB / 392 MB, free: 1.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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 (25): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.1349, allocations: 161.7 kB / 392.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.1349, allocations: 23.86 kB / 392.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.135, allocations: 26.11 kB / 392.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.135, allocations: 4.25 kB / 392.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.135, allocations: 0 / 392.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.135, allocations: 4 kB / 392.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.1353, allocations: 217.2 kB / 392.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1353, allocations: 0 / 392.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1354, allocations: 28.02 kB / 392.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.1357, allocations: 76.78 kB / 392.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1358, allocations: 7.984 kB / 392.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.138, allocations: 1.826 MB / 394.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.138, allocations: 4.031 kB / 394.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.1388, allocations: 321.5 kB / 394.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.1389, allocations: 27.84 kB / 394.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1389, allocations: 0 / 394.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.1392, allocations: 31.97 kB / 394.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.1393, allocations: 31.89 kB / 394.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1393, allocations: 4 kB / 394.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1395, allocations: 189.2 kB / 395 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1395, allocations: 0 / 395 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000447/0.1399, allocations: 87.83 kB / 395.1 MB, free: 14.54 MB / 366.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.1401, allocations: 110.7 kB / 395.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1411, allocations: 439.5 kB / 395.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1411, allocations: 0 / 395.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.1416, allocations: 243.1 kB / 395.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1419, allocations: 51.22 kB / 395.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1439, allocations: 0.5976 MB / 396.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.1441, allocations: 151.5 kB / 396.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.1442, allocations: 22.28 kB / 396.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.1443, allocations: 28.48 kB / 396.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1443, allocations: 0 / 396.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Templates: time 0.009468/0.1537, allocations: 4.368 MB / 401.1 MB, free: 8.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.564102650969289]