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.001474/0.001474, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001172/0.001172, allocations: 144.4 kB / 25.59 MB, free: 8.914 MB / 18.57 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 0.9104/0.9104, allocations: 173.4 MB / 202.3 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] 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 1.183e-06/1.183e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.029e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002984/0.003004, allocations: 2.903 MB / 272.1 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004221, allocations: 0.7218 MB / 272.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.004378, allocations: 7.938 kB / 272.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.004524, allocations: 43.56 kB / 272.9 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.004689, allocations: 120.2 kB / 273 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.004962, allocations: 116.6 kB / 273.1 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.005315, allocations: 431.1 kB / 273.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.005476, allocations: 83.66 kB / 273.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.005735, allocations: 240.2 kB / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.005947, allocations: 131.7 kB / 274 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.006, allocations: 41.94 kB / 274 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.006041, allocations: 40 kB / 274.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.006095, allocations: 79.69 kB / 274.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.006196, allocations: 127.7 kB / 274.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.006463, allocations: 259.1 kB / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006466, allocations: 1.781 kB / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006467, allocations: 0 / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.006473, allocations: 3.938 kB / 274.5 MB, free: 4.422 MB / 250.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.0007922/0.007265, allocations: 0.6874 MB / 275.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.007296, allocations: 12.72 kB / 275.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.00737, allocations: 48.75 kB / 275.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.007642, allocations: 245.1 kB / 275.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.007664, allocations: 24.88 kB / 275.6 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.007693, allocations: 24.38 kB / 275.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.008053, allocations: 289 kB / 275.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.008065, allocations: 192 / 275.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.008087, allocations: 12.38 kB / 275.9 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.008096, allocations: 7.938 kB / 275.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.008213, allocations: 79.42 kB / 276 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.009259, allocations: 1.041 MB / 277 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.009453, allocations: 107.1 kB / 277.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.009496, allocations: 35.67 kB / 277.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.009514, allocations: 0 / 277.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.009691, allocations: 179.4 kB / 277.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.009692, allocations: 0 / 277.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006867/0.01038, allocations: 308.3 kB / 277.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.01043, allocations: 106.8 kB / 277.7 MB, free: 1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01062, allocations: 300.1 kB / 278 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.01064, allocations: 33.7 kB / 278 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01076, allocations: 254.7 kB / 278.3 MB, free: 400 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.01079, allocations: 47.64 kB / 278.3 MB, free: 352 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.01086, allocations: 59.56 kB / 278.4 MB, free: 280 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01098, allocations: 0.5003 MB / 278.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.01105, allocations: 57.91 kB / 279 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01118, allocations: 257.2 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.01136, allocations: 219.5 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01136, allocations: 4 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003891/0.01175, allocations: 308.5 kB / 279.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.01178, allocations: 37.7 kB / 279.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01179, allocations: 0 / 279.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.01204, allocations: 87.61 kB / 279.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01214, allocations: 39.97 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.01336, allocations: 2.158 MB / 282 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.0135, allocations: 43.83 kB / 282.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01352, allocations: 8 kB / 282.1 MB, free: 12.27 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 9.937e-05/0.01362, allocations: 188.5 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.01365, allocations: 27.8 kB / 282.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.01368, allocations: 21.78 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.01368, allocations: 4 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01368, allocations: 3.984 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01368, allocations: 0 / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.01381, allocations: 173.1 kB / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01381, allocations: 0 / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.01386, allocations: 15.98 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/0.01404, allocations: 79.75 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01405, allocations: 4 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.01507, allocations: 2.106 MB / 284.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01507, allocations: 3.938 kB / 284.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01532, allocations: 203.8 kB / 284.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.01534, allocations: 31.88 kB / 284.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.01536, allocations: 7.938 kB / 285 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.01546, allocations: 23.97 kB / 285 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.01551, allocations: 15.97 kB / 285 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01551, allocations: 4 kB / 285 MB, free: 9.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.21e-05/0.01561, allocations: 197.1 kB / 285.2 MB, free: 9 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01561, allocations: 0 / 285.2 MB, free: 9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.01589, allocations: 87.83 kB / 285.3 MB, free: 8.914 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 0.0001049/0.01599, allocations: 103.2 kB / 285.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.01642, allocations: 418.8 kB / 285.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01642, allocations: 0 / 285.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01659, allocations: 237.5 kB / 286 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.0168, allocations: 58.81 kB / 286.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.01809, allocations: 0.6862 MB / 286.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.72e-05/0.01813, allocations: 80.31 kB / 286.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.807e-05/0.01821, allocations: 34.31 kB / 286.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.01834, allocations: 122.2 kB / 287 MB, free: 7.078 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01834, allocations: 0 / 287 MB, free: 7.078 MB / 266.7 MB Notification: Performance of Templates: time 0.006251/0.02459, allocations: 4.5 MB / 291.5 MB, free: 2.652 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8800030080601573]