Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001692/0.001692, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002017/0.002017, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.809 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+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.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_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_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2138, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004164/0.218, allocations: 2.7 MB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2196, allocations: 0.7169 MB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2197, allocations: 7.938 kB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.2199, allocations: 47.56 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.2201, allocations: 103.2 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.2205, allocations: 107.8 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.2209, allocations: 398.5 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2212, allocations: 95.31 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.2215, allocations: 163.4 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2217, allocations: 163.3 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2218, allocations: 40 kB / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.2218, allocations: 36 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.2219, allocations: 79.75 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2221, allocations: 135.4 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.2226, allocations: 429.3 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2226, allocations: 0 / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2226, allocations: 0 / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2226, allocations: 0 / 437.5 MB, free: 1.539 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.001346/0.2239, allocations: 0.5975 MB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.224, allocations: 8.031 kB / 438.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.2241, allocations: 40.73 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2245, allocations: 231 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2245, allocations: 16.88 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.2246, allocations: 28.36 kB / 438.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/0.2253, allocations: 344.7 kB / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2253, allocations: 0 / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.2254, allocations: 8 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.2254, allocations: 11.98 kB / 438.8 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.2262, allocations: 273.8 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.228, allocations: 0.9485 MB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.229, allocations: 242.5 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.2293, allocations: 96.78 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2293, allocations: 7.938 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.2298, allocations: 194.7 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.674e-06/0.2298, allocations: 3.938 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001118/0.2309, allocations: 313.3 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.231, allocations: 85.05 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.2313, allocations: 257 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2313, allocations: 37.69 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2315, allocations: 192 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.2315, allocations: 43.62 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.2316, allocations: 53.66 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2318, allocations: 334.8 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2321, allocations: 133.9 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.2326, allocations: 239 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.2334, allocations: 306.7 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2334, allocations: 4 kB / 442.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009432/0.2343, allocations: 392.7 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.2343, allocations: 33.7 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.2343, allocations: 4 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2344, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.2347, allocations: 76.03 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2347, allocations: 4 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.235, allocations: 43.8 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.235, allocations: 15.98 kB / 443.1 MB, free: 11.64 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.0001488/0.2352, allocations: 145.7 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2352, allocations: 19.86 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.2353, allocations: 29.7 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2353, allocations: 4 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2353, allocations: 0 / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.2353, allocations: 23.8 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2354, allocations: 11.92 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.2356, allocations: 27.97 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.2357, allocations: 19.97 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001007/0.2367, allocations: 332.6 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001186/0.2379, allocations: 0.5068 MB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003503/0.2383, allocations: 104 kB / 444.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.2384, allocations: 184.4 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Backend: time 3.3e-07/0.2384, allocations: 0 / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008325/0.2393, allocations: 310 kB / 444.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of SimCode: time 0.001164/0.2404, allocations: 0.9636 MB / 445.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of Templates: time 0.008074/0.2485, allocations: 4.091 MB / 449.8 MB, free: 4.848 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.299700629002473]