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.009368/0.009368, allocations: 108.5 kB / 21.97 MB, free: 5.184 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.002471/0.002471, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.455/1.455, allocations: 230.6 MB / 259 MB, free: 8.023 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.001968/0.001968, allocations: 71.88 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2568, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004362/0.2612, allocations: 2.913 MB / 436.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2627, allocations: 0.7558 MB / 436.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.2628, allocations: 7.938 kB / 436.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.263, allocations: 43.56 kB / 436.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2632, allocations: 103.2 kB / 437 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.2635, allocations: 111.8 kB / 437.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.2639, allocations: 394.5 kB / 437.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2641, allocations: 95.33 kB / 437.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2644, allocations: 163.4 kB / 437.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2647, allocations: 167.3 kB / 437.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.2647, allocations: 40 kB / 438 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.2648, allocations: 40 kB / 438 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.2649, allocations: 75.77 kB / 438.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.265, allocations: 163.2 kB / 438.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.2655, allocations: 425 kB / 438.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2655, allocations: 0 / 438.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2655, allocations: 0 / 438.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2655, allocations: 7.938 kB / 438.7 MB, free: 1.473 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.001276/0.2668, allocations: 0.5897 MB / 439.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2668, allocations: 11.97 kB / 439.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.2669, allocations: 32.75 kB / 439.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.2673, allocations: 238.9 kB / 439.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2673, allocations: 20.81 kB / 439.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2674, allocations: 28.38 kB / 439.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.2681, allocations: 318.9 kB / 439.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2681, allocations: 0 / 439.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.2681, allocations: 16 kB / 439.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.2681, allocations: 4 kB / 439.9 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.2689, allocations: 269.9 kB / 440.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.2708, allocations: 1.076 MB / 441.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.2716, allocations: 238.5 kB / 441.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.272, allocations: 100.8 kB / 441.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.272, allocations: 0 / 441.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.2724, allocations: 172.9 kB / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2724, allocations: 0 / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001008/0.2734, allocations: 317.2 kB / 442.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.2735, allocations: 85.09 kB / 442.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.2738, allocations: 257.9 kB / 442.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2738, allocations: 29.7 kB / 442.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.274, allocations: 200 kB / 442.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.274, allocations: 43.62 kB / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.2741, allocations: 49.7 kB / 442.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2743, allocations: 338.8 kB / 443 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.2746, allocations: 104.2 kB / 443.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.275, allocations: 188.5 kB / 443.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.2757, allocations: 303.7 kB / 443.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2757, allocations: 0 / 443.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000862/0.2765, allocations: 354.8 kB / 444 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.2766, allocations: 45.97 kB / 444 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2766, allocations: 8 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2766, allocations: 4 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.2769, allocations: 63.89 kB / 444.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.2769, allocations: 8 kB / 444.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.2772, allocations: 55.73 kB / 444.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2772, allocations: 16 kB / 444.2 MB, free: 11.62 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.000154/0.2774, allocations: 149 kB / 444.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.2774, allocations: 19.86 kB / 444.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/0.2775, allocations: 29.7 kB / 444.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2775, allocations: 3.938 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2775, allocations: 0 / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2775, allocations: 3.938 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2778, allocations: 276.5 kB / 444.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2778, allocations: 4 kB / 444.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.2781, allocations: 51.89 kB / 444.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2781, allocations: 0 / 444.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2781, allocations: 4 kB / 444.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2781, allocations: 0 / 444.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2781, allocations: 0 / 444.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2791, allocations: 368.6 kB / 445.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.2791, allocations: 31.88 kB / 445.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.2792, allocations: 8 kB / 445.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2794, allocations: 27.97 kB / 445.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.2795, allocations: 15.97 kB / 445.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2795, allocations: 7.938 kB / 445.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.2797, allocations: 189.2 kB / 445.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2797, allocations: 3.938 kB / 445.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.28, allocations: 63.84 kB / 445.4 MB, free: 10.32 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.0001259/0.2801, allocations: 103.2 kB / 445.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008069/0.2809, allocations: 287.2 kB / 445.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2809, allocations: 0 / 445.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.2813, allocations: 103.8 kB / 445.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2816, allocations: 53.02 kB / 445.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2828, allocations: 0.5508 MB / 446.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.2832, allocations: 0.7518 MB / 447.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.2833, allocations: 27.42 kB / 447.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2833, allocations: 0 / 447.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Templates: time 0.006065/0.2893, allocations: 3.359 MB / 450.6 MB, free: 5.043 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/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-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: 7.138075081864372]