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.001642/0.001642, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002015/0.002015, allocations: 210 kB / 24.48 MB, free: 3.938 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.518/1.518, allocations: 230.6 MB / 258.2 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.001609/0.001609, allocations: 43.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004287/0.2405, allocations: 2.7 MB / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2418, allocations: 0.7168 MB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.242, allocations: 4 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2421, allocations: 47.52 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2423, allocations: 103.2 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.2426, allocations: 119.8 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.2431, allocations: 382.5 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2433, allocations: 95.31 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2436, allocations: 159.4 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2438, allocations: 143.3 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.2439, allocations: 36 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.2439, allocations: 40 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.244, allocations: 83.67 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2442, allocations: 135.4 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.2447, allocations: 425.4 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2447, allocations: 7.938 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2447, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2447, allocations: 0 / 437.5 MB, free: 1.555 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.001261/0.2459, allocations: 0.5936 MB / 438.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.246, allocations: 8.031 kB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.246, allocations: 32.75 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2464, allocations: 238.9 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2465, allocations: 16.88 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.2465, allocations: 24.38 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.2473, allocations: 344.7 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2473, allocations: 0 / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2473, allocations: 15.98 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2473, allocations: 4 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.2481, allocations: 285.7 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2499, allocations: 0.9407 MB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.2508, allocations: 242.5 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.2512, allocations: 96.78 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.2512, allocations: 0 / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.2517, allocations: 214.5 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.2517, allocations: 0 / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001097/0.2528, allocations: 309.3 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.2528, allocations: 89.03 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.2531, allocations: 257 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2531, allocations: 25.7 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2533, allocations: 204 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.2533, allocations: 43.62 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2534, allocations: 49.66 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2536, allocations: 338.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.254, allocations: 129.8 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.2544, allocations: 246.9 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.2552, allocations: 299.8 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2552, allocations: 0 / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009183/0.2561, allocations: 388.5 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2561, allocations: 38.03 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2561, allocations: 8 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2561, allocations: 4 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2564, allocations: 59.95 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2564, allocations: 7.938 kB / 443 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.2567, allocations: 51.78 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2568, allocations: 12 kB / 443.1 MB, free: 11.66 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.0001528/0.2569, allocations: 153 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.257, allocations: 23.86 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.257, allocations: 21.7 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.257, allocations: 4 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.257, allocations: 0 / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.257, allocations: 0 / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.2573, allocations: 221.1 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2573, allocations: 0 / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2575, allocations: 43.95 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2575, allocations: 0 / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2575, allocations: 8 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2575, allocations: 0 / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2575, allocations: 3.938 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2587, allocations: 368.6 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.2587, allocations: 27.88 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2587, allocations: 4 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.259, allocations: 32.03 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.259, allocations: 15.97 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2591, allocations: 8 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.2593, allocations: 180.5 kB / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 3.938 kB / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.2596, allocations: 67.84 kB / 444.2 MB, free: 10.44 MB / 350.1 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: 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 (12): * Single equations (assignments): 10 * 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 0.0001256/0.2597, allocations: 103.2 kB / 444.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008509/0.2605, allocations: 328.6 kB / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2605, allocations: 0 / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.2609, allocations: 100.6 kB / 444.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2612, allocations: 33.17 kB / 444.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2624, allocations: 0.5663 MB / 445.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2625, allocations: 138.9 kB / 445.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.2626, allocations: 23.42 kB / 445.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2626, allocations: 4 kB / 445.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Templates: time 0.005776/0.2684, allocations: 3.411 MB / 448.9 MB, free: 5.68 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: 7.063885498326272]