Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.0008645/0.0008645, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001879, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006856/0.0006856, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001602, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9844/0.9844, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08181/1.066, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/1.101e-05, allocations: 2.312 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002543/0.002554, allocations: 2.931 MB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.003413, allocations: 0.7282 MB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003515, allocations: 7.938 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.019e-05/0.003595, allocations: 47.52 kB / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.003733, allocations: 119 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.003885, allocations: 91.83 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.004161, allocations: 394.3 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.004297, allocations: 94.27 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.004576, allocations: 279.8 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.004715, allocations: 127.7 kB / 249.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.004758, allocations: 43.94 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.004793, allocations: 40 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.004832, allocations: 55.81 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.004908, allocations: 95.88 kB / 250.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.005118, allocations: 235.1 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.005132, allocations: 0 / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005132, allocations: 0 / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.005146, allocations: 0 / 250.3 MB, free: 8.312 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007226/0.005869, allocations: 0.5958 MB / 250.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.005897, allocations: 16.92 kB / 250.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.005952, allocations: 44.89 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.006155, allocations: 193.1 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.006168, allocations: 16.88 kB / 251.2 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.006201, allocations: 32.31 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.006432, allocations: 240.7 kB / 251.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00644, allocations: 192 / 251.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.006456, allocations: 12.38 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006464, allocations: 11.94 kB / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.006559, allocations: 67.47 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.007307, allocations: 0.7199 MB / 252.2 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.007489, allocations: 98.45 kB / 252.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.007525, allocations: 28.84 kB / 252.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.007546, allocations: 4 kB / 252.4 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.0077, allocations: 165.2 kB / 252.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.007701, allocations: 0 / 252.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.000155/0.007856, allocations: 105.6 kB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.007887, allocations: 59.34 kB / 252.7 MB, free: 5.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.008007, allocations: 232.9 kB / 252.9 MB, free: 5.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.008025, allocations: 33.64 kB / 253 MB, free: 5.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.008093, allocations: 184 kB / 253.1 MB, free: 5.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.008124, allocations: 59.58 kB / 253.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.008176, allocations: 49.91 kB / 253.2 MB, free: 5.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.00825, allocations: 338.8 kB / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.008291, allocations: 49.92 kB / 253.6 MB, free: 4.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.00838, allocations: 192.7 kB / 253.8 MB, free: 4.508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.00849, allocations: 170 kB / 254 MB, free: 4.305 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.008494, allocations: 3.938 kB / 254 MB, free: 4.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001633/0.008657, allocations: 212.7 kB / 254.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.008687, allocations: 38 kB / 254.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008692, allocations: 4 kB / 254.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.008701, allocations: 4 kB / 254.2 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.008864, allocations: 71.89 kB / 254.3 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.008869, allocations: 4 kB / 254.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.008969, allocations: 35.81 kB / 254.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.008981, allocations: 11.98 kB / 254.4 MB, free: 3.902 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.009056, allocations: 137.7 kB / 254.5 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.009075, allocations: 19.97 kB / 254.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.009106, allocations: 25.77 kB / 254.5 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009109, allocations: 4 kB / 254.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.009111, allocations: 0 / 254.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009114, allocations: 0 / 254.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.009219, allocations: 145.7 kB / 254.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00922, allocations: 0 / 254.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.009319, allocations: 43.89 kB / 254.7 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.009342, allocations: 23.8 kB / 254.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.009343, allocations: 4 kB / 254.8 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.009352, allocations: 4 kB / 254.8 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.009353, allocations: 0 / 254.8 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009354, allocations: 3.938 kB / 254.8 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.009511, allocations: 148 kB / 254.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.009531, allocations: 4 kB / 254.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.009607, allocations: 23.97 kB / 254.9 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.009646, allocations: 15.97 kB / 254.9 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.009651, allocations: 4 kB / 255 MB, free: 3.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.009703, allocations: 86.75 kB / 255 MB, free: 3.176 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009703, allocations: 0 / 255 MB, free: 3.176 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.009854, allocations: 71.84 kB / 255.1 MB, free: 3.105 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.642e-05/0.00993, allocations: 84.34 kB / 255.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01009, allocations: 181.8 kB / 255.4 MB, free: 2.816 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.0101, allocations: 4.625 kB / 255.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.01014, allocations: 40.72 kB / 255.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.01029, allocations: 75.5 kB / 255.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.01179, allocations: 0.4926 MB / 256 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.01183, allocations: 92.19 kB / 256.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.01191, allocations: 34.27 kB / 256.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01203, allocations: 107.3 kB / 256.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01203, allocations: 0 / 256.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of Templates: time 0.005075/0.01711, allocations: 3.701 MB / 259.9 MB, free: 14.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.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.5822784267365932]