Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001271/0.001271, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001376/0.001376, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.84 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2104, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004277/0.2147, allocations: 2.91 MB / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2159, allocations: 0.7635 MB / 435.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2161, allocations: 4 kB / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2163, allocations: 43.56 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.2165, allocations: 103.2 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.2168, allocations: 111.8 kB / 436 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.2172, allocations: 390.5 kB / 436.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2174, allocations: 95.25 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.2177, allocations: 167.3 kB / 436.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.2179, allocations: 159.3 kB / 436.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.218, allocations: 40 kB / 436.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.218, allocations: 40 kB / 436.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.2181, allocations: 67.77 kB / 437 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2183, allocations: 167.2 kB / 437.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.2187, allocations: 427.9 kB / 437.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2187, allocations: 0 / 437.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2187, allocations: 0 / 437.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.2187, allocations: 4 kB / 437.5 MB, free: 1.895 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001354/0.2201, allocations: 0.665 MB / 438.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2201, allocations: 12.03 kB / 438.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.2202, allocations: 32.75 kB / 438.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.2206, allocations: 296.8 kB / 438.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2207, allocations: 20.94 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.2207, allocations: 24.38 kB / 438.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.2214, allocations: 319.9 kB / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2215, allocations: 0 / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2215, allocations: 12 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2215, allocations: 8 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.2224, allocations: 274 kB / 439.2 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.2243, allocations: 1.112 MB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.2252, allocations: 238.5 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.2255, allocations: 100.8 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2256, allocations: 3.938 kB / 440.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.226, allocations: 177 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.226, allocations: 0 / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001145/0.2272, allocations: 313.2 kB / 441.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2272, allocations: 81.11 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2275, allocations: 262.6 kB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2276, allocations: 29.7 kB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2277, allocations: 195.9 kB / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.2278, allocations: 43.62 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.2279, allocations: 53.7 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.228, allocations: 338.8 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.2284, allocations: 104.1 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.2288, allocations: 191.5 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.2296, allocations: 302.7 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2296, allocations: 4 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009577/0.2306, allocations: 367 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.2306, allocations: 33.7 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2306, allocations: 4 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2306, allocations: 4 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.231, allocations: 67.88 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.231, allocations: 7.984 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.2313, allocations: 51.88 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2313, allocations: 19.92 kB / 443.2 MB, free: 11.83 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: 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 (26): * Single equations (assignments): 25 * 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 0.0001536/0.2314, allocations: 145.7 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2315, allocations: 19.86 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.2315, allocations: 29.7 kB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2315, allocations: 0 / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2315, allocations: 4 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.2316, allocations: 101 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2317, allocations: 7.938 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.2319, allocations: 27.97 kB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.232, allocations: 19.95 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009953/0.233, allocations: 332.7 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.2342, allocations: 0.5023 MB / 444.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003496/0.2345, allocations: 100.6 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.2347, allocations: 193.9 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Backend: time 1.5e-07/0.2347, allocations: 0 / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.2356, allocations: 280.2 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.001146/0.2367, allocations: 0.9687 MB / 445.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of Templates: time 0.007884/0.2446, allocations: 3.628 MB / 449.6 MB, free: 5.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.150577627122402]