Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001106, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 50.54 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003776/0.2333, allocations: 2.874 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2346, allocations: 0.744 MB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2348, allocations: 7.938 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.235, allocations: 43.58 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.2352, allocations: 107.2 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2355, allocations: 111.8 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.236, allocations: 390.5 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.2363, allocations: 127.2 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2366, allocations: 159.4 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2369, allocations: 167.2 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.2369, allocations: 40 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.237, allocations: 36 kB / 414.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.2371, allocations: 79.73 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2373, allocations: 163.2 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.2377, allocations: 427.7 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2377, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2377, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2377, allocations: 0 / 415.4 MB, free: 12.13 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.001372/0.2391, allocations: 0.6614 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2391, allocations: 8.031 kB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.2392, allocations: 36.56 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2396, allocations: 292.7 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2396, allocations: 20.94 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.2397, allocations: 24.38 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.2404, allocations: 320 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2404, allocations: 0 / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2404, allocations: 8 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2405, allocations: 4 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/0.2412, allocations: 282 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.2429, allocations: 1.111 MB / 418.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.2438, allocations: 246.6 kB / 418.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.2441, allocations: 100.8 kB / 418.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2442, allocations: 3.984 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.2446, allocations: 169 kB / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.2447, allocations: 0 / 418.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00108/0.2457, allocations: 321.5 kB / 419 MB, free: 8.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2458, allocations: 77.11 kB / 419 MB, free: 8.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.2461, allocations: 274.5 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2461, allocations: 29.7 kB / 419.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2462, allocations: 195.5 kB / 419.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.2463, allocations: 39.45 kB / 419.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.2464, allocations: 49.7 kB / 419.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2465, allocations: 334.8 kB / 420 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.2469, allocations: 104.2 kB / 420.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.2473, allocations: 191.5 kB / 420.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.248, allocations: 303.8 kB / 420.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.248, allocations: 3.938 kB / 420.5 MB, free: 6.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009133/0.2489, allocations: 369.9 kB / 420.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.249, allocations: 33.7 kB / 420.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.249, allocations: 4 kB / 420.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.249, allocations: 4 kB / 420.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.2493, allocations: 67.88 kB / 421 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2493, allocations: 4 kB / 421 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.2496, allocations: 51.78 kB / 421.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2497, allocations: 11.94 kB / 421.1 MB, free: 6.082 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.0001397/0.2498, allocations: 150 kB / 421.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.2498, allocations: 23.72 kB / 421.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.2499, allocations: 29.64 kB / 421.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2499, allocations: 0 / 421.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2499, allocations: 0 / 421.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.25, allocations: 100.9 kB / 421.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.25, allocations: 11.92 kB / 421.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.2503, allocations: 23.97 kB / 421.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.2504, allocations: 15.98 kB / 421.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009445/0.2513, allocations: 336.8 kB / 421.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001133/0.2525, allocations: 0.5099 MB / 422.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003347/0.2528, allocations: 104 kB / 422.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.253, allocations: 190 kB / 422.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.253, allocations: 0 / 422.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007925/0.2538, allocations: 289.7 kB / 422.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.000982/0.2548, allocations: 0.9496 MB / 423.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Templates: time 0.006491/0.2613, allocations: 3.529 MB / 427.3 MB, free: 15.76 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches