Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 55.91 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 52.12 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004723/0.2885, allocations: 2.904 MB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2899, allocations: 0.7284 MB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.2901, allocations: 4 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2903, allocations: 51.5 kB / 424.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2905, allocations: 99.25 kB / 424.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.2908, allocations: 111.8 kB / 424.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.2913, allocations: 386.5 kB / 425.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.2915, allocations: 95.2 kB / 425.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.2918, allocations: 155.4 kB / 425.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.292, allocations: 163.3 kB / 425.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.292, allocations: 40 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.2921, allocations: 40 kB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.2922, allocations: 75.75 kB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2924, allocations: 163.2 kB / 425.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.2928, allocations: 431.6 kB / 426.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2928, allocations: 3.938 kB / 426.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2929, allocations: 0 / 426.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2929, allocations: 0 / 426.3 MB, free: 9.672 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.001358/0.2942, allocations: 0.6651 MB / 427 MB, free: 8.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2943, allocations: 11.89 kB / 427 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.2943, allocations: 36.7 kB / 427 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.2948, allocations: 284.9 kB / 427.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.2948, allocations: 28.92 kB / 427.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.2949, allocations: 24.36 kB / 427.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.2956, allocations: 315.9 kB / 427.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2956, allocations: 0 / 427.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2956, allocations: 12 kB / 427.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2956, allocations: 4 kB / 427.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.2964, allocations: 282 kB / 427.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2983, allocations: 1.116 MB / 429.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.2992, allocations: 238.5 kB / 429.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2995, allocations: 96.78 kB / 429.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2995, allocations: 4 kB / 429.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.3, allocations: 172.9 kB / 429.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3, allocations: 0 / 429.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001048/0.301, allocations: 313.3 kB / 429.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.3011, allocations: 85.11 kB / 429.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.3014, allocations: 266.5 kB / 430.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3014, allocations: 33.7 kB / 430.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3016, allocations: 195.9 kB / 430.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3016, allocations: 39.69 kB / 430.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3017, allocations: 53.66 kB / 430.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3019, allocations: 330.8 kB / 430.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3022, allocations: 108.1 kB / 431 MB, free: 4.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.3026, allocations: 193 kB / 431.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.3033, allocations: 299.7 kB / 431.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3033, allocations: 0 / 431.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008796/0.3042, allocations: 365.6 kB / 431.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.3043, allocations: 33.7 kB / 431.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3043, allocations: 4 kB / 431.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3043, allocations: 8.344 kB / 431.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.3046, allocations: 71.88 kB / 431.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3046, allocations: 4 kB / 431.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.3049, allocations: 47.8 kB / 432 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3049, allocations: 8 kB / 432 MB, free: 3.641 MB / 334.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.0001657/0.3051, allocations: 157.7 kB / 432.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3051, allocations: 19.86 kB / 432.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.3052, allocations: 25.7 kB / 432.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3052, allocations: 0 / 432.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.3052, allocations: 0 / 432.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3052, allocations: 3.938 kB / 432.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.3055, allocations: 313.4 kB / 432.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3055, allocations: 0 / 432.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.3058, allocations: 51.89 kB / 432.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3058, allocations: 0 / 432.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3058, allocations: 4 kB / 432.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3058, allocations: 4 kB / 432.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3058, allocations: 0 / 432.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3069, allocations: 373 kB / 432.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.307, allocations: 104.9 kB / 433 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.307, allocations: 8 kB / 433 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3072, allocations: 28.03 kB / 433 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.3073, allocations: 23.97 kB / 433.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3073, allocations: 11.88 kB / 433.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3075, allocations: 186 kB / 433.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3075, allocations: 0 / 433.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.3078, allocations: 63.83 kB / 433.3 MB, free: 2.191 MB / 334.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.0001508/0.308, allocations: 111.2 kB / 433.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007978/0.3088, allocations: 287.6 kB / 433.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3088, allocations: 0 / 433.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3091, allocations: 99.86 kB / 433.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3095, allocations: 48.66 kB / 433.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3106, allocations: 0.5285 MB / 434.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.311, allocations: 0.7558 MB / 435.1 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3111, allocations: 22.3 kB / 435.2 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.3112, allocations: 23.42 kB / 435.2 MB, free: 260 kB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3112, allocations: 0 / 435.2 MB, free: 260 kB / 334.1 MB Notification: Performance of Templates: time 0.007028/0.3182, allocations: 3.107 MB / 438.3 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.4672931879758835]