Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001076/0.001076, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001039/0.001039, allocations: 171.8 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.983/0.983, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.708e-05, allocations: 2.312 kB / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002992/0.003009, allocations: 2.974 MB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.00398, allocations: 0.7632 MB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.004097, allocations: 7.938 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004233, allocations: 55.5 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004372, allocations: 99.12 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.004593, allocations: 127.8 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.004903, allocations: 430.2 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.00506, allocations: 90.22 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.005267, allocations: 239.4 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.005424, allocations: 135.6 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.005471, allocations: 44 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.005507, allocations: 40 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.005563, allocations: 83.67 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.005654, allocations: 123.7 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.005899, allocations: 259.1 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.0059, allocations: 0 / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005901, allocations: 0 / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.005905, allocations: 4 kB / 279 MB, free: 11.61 MB / 266.7 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.0006459/0.006551, allocations: 0.5609 MB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.006581, allocations: 8.031 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.006639, allocations: 44.89 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.006845, allocations: 197.2 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006859, allocations: 16.88 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.006883, allocations: 28.38 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.007171, allocations: 291.3 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007181, allocations: 8.125 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.007199, allocations: 8.375 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.007208, allocations: 11.94 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.007301, allocations: 63.47 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.008102, allocations: 0.799 MB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.00827, allocations: 90.47 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.008309, allocations: 29.05 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.008325, allocations: 7.938 kB / 281.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.008481, allocations: 165.2 kB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.008483, allocations: 0 / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005415/0.009024, allocations: 270 kB / 281.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.009069, allocations: 106.8 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.00922, allocations: 252.8 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.009238, allocations: 29.7 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.009313, allocations: 195.9 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.009335, allocations: 35.69 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.009395, allocations: 61.86 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.009472, allocations: 334.8 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.009518, allocations: 49.92 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.009621, allocations: 202.4 kB / 282.8 MB, free: 7.484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.009752, allocations: 184.6 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009754, allocations: 0 / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002856/0.01004, allocations: 275 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.01007, allocations: 37.7 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01007, allocations: 0 / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.01029, allocations: 77.17 kB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.01039, allocations: 47.91 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/0.01132, allocations: 1.485 MB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01144, allocations: 55.78 kB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01145, allocations: 12 kB / 284.9 MB, free: 5.16 MB / 266.7 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 8.224e-05/0.01153, allocations: 129.8 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.01155, allocations: 19.97 kB / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.01158, allocations: 25.72 kB / 285.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01158, allocations: 4 kB / 285.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-06/0.01158, allocations: 4 kB / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01159, allocations: 3.984 kB / 285.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01169, allocations: 145.7 kB / 285.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01169, allocations: 0 / 285.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.01174, allocations: 19.92 kB / 285.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.01189, allocations: 72.92 kB / 285.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.0119, allocations: 4 kB / 285.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/0.01265, allocations: 1.442 MB / 286.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01265, allocations: 7.922 kB / 286.8 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.01283, allocations: 161.8 kB / 287 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01285, allocations: 19.8 kB / 287 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01287, allocations: 4 kB / 287 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.01296, allocations: 31.94 kB / 287 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.01301, allocations: 19.97 kB / 287 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.01302, allocations: 0 / 287 MB, free: 2.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.01308, allocations: 86.77 kB / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 0 / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.0133, allocations: 79.84 kB / 287.2 MB, free: 2.758 MB / 266.7 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 7.195e-05/0.01337, allocations: 84.45 kB / 287.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.01371, allocations: 355.5 kB / 287.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01371, allocations: 0 / 287.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.01383, allocations: 172 kB / 287.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.01398, allocations: 60.39 kB / 287.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01513, allocations: 0.6885 MB / 288.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01517, allocations: 88.11 kB / 288.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.01524, allocations: 22.3 kB / 288.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.01535, allocations: 103.3 kB / 288.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01535, allocations: 0 / 288.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of Templates: time 0.09523/0.1106, allocations: 4.294 MB / 293.1 MB, free: 25.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.671639046166092]