Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 178.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008513, allocations: 94.92 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00301/0.2293, allocations: 2.206 MB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2305, allocations: 0.6697 MB / 377.4 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2306, allocations: 8.469 kB / 377.4 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.2308, allocations: 30.95 kB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2309, allocations: 63.48 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.2311, allocations: 66.98 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.2314, allocations: 294.8 kB / 377.9 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2316, allocations: 63.12 kB / 378 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2318, allocations: 109.6 kB / 378.1 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.232, allocations: 120.9 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.232, allocations: 13.81 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.232, allocations: 18.03 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.2321, allocations: 45.8 kB / 378.3 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.2322, allocations: 67.8 kB / 378.3 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.2323, allocations: 224.1 kB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2324, allocations: 0 / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2324, allocations: 3.938 kB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2324, allocations: 5.031 kB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00104/0.2334, allocations: 0.5886 MB / 379.1 MB, free: 41.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2335, allocations: 9.531 kB / 379.1 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.2335, allocations: 28.59 kB / 379.2 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2338, allocations: 257 kB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2338, allocations: 12.16 kB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.2339, allocations: 20.88 kB / 379.5 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.2345, allocations: 242.2 kB / 379.7 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2345, allocations: 5.188 kB / 379.7 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.2345, allocations: 8.969 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2345, allocations: 9.406 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.2353, allocations: 280 kB / 380 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2365, allocations: 0.8511 MB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.2374, allocations: 265.8 kB / 381.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.2377, allocations: 114.2 kB / 381.2 MB, free: 40.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2377, allocations: 5.312 kB / 381.2 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.2381, allocations: 183.8 kB / 381.4 MB, free: 40.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2381, allocations: 0 / 381.4 MB, free: 40.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009306/0.2391, allocations: 333.8 kB / 381.7 MB, free: 40.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2391, allocations: 87.14 kB / 381.8 MB, free: 40.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2393, allocations: 233.7 kB / 382 MB, free: 39.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2394, allocations: 28.02 kB / 382.1 MB, free: 39.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2394, allocations: 168.8 kB / 382.2 MB, free: 39.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2395, allocations: 44.61 kB / 382.3 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.2395, allocations: 1.375 kB / 382.3 MB, free: 39.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.2395, allocations: 335.1 kB / 382.6 MB, free: 39.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.2398, allocations: 104.9 kB / 382.7 MB, free: 39.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.2402, allocations: 162.5 kB / 382.9 MB, free: 39.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.2405, allocations: 132.4 kB / 383 MB, free: 39.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2405, allocations: 1.156 kB / 383 MB, free: 39.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007021/0.2412, allocations: 344 kB / 383.3 MB, free: 38.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.2413, allocations: 164 kB / 383.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2413, allocations: 2.281 kB / 383.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2413, allocations: 1.969 kB / 383.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2416, allocations: 66.55 kB / 383.6 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2416, allocations: 11.73 kB / 383.6 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.2419, allocations: 45.59 kB / 383.6 MB, free: 38.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.2419, allocations: 10.75 kB / 383.6 MB, free: 38.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.2419, allocations: 3.875 kB / 383.6 MB, free: 38.63 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005938/0.2425, allocations: 278.7 kB / 383.9 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.2425, allocations: 2.125 kB / 383.9 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.2426, allocations: 7.016 kB / 383.9 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2428, allocations: 50 kB / 384 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2428, allocations: 6.156 kB / 384 MB, free: 38.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.243, allocations: 45.67 kB / 384 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.243, allocations: 10.34 kB / 384 MB, free: 38.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2432, allocations: 210.9 kB / 384.2 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.2432, allocations: 22.39 kB / 384.2 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.2432, allocations: 22.12 kB / 384.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2432, allocations: 2.156 kB / 384.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2433, allocations: 0 / 384.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2433, allocations: 7.891 kB / 384.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2435, allocations: 292.7 kB / 384.6 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2435, allocations: 1.312 kB / 384.6 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.2437, allocations: 52.2 kB / 384.6 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2437, allocations: 4 kB / 384.6 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2438, allocations: 5.375 kB / 384.6 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2438, allocations: 1.281 kB / 384.6 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2438, allocations: 4 kB / 384.6 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009348/0.2447, allocations: 383.3 kB / 385 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.2448, allocations: 98.03 kB / 385.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.2448, allocations: 5.656 kB / 385.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.245, allocations: 35.28 kB / 385.1 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2451, allocations: 18.94 kB / 385.2 MB, free: 37.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2451, allocations: 6.188 kB / 385.2 MB, free: 37.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2453, allocations: 175.9 kB / 385.3 MB, free: 37.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2453, allocations: 0 / 385.3 MB, free: 37.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000372/0.2457, allocations: 103.6 kB / 385.4 MB, free: 37.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.2458, allocations: 108.1 kB / 385.5 MB, free: 37.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.2467, allocations: 478.2 kB / 386 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2468, allocations: 0 / 386 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.247, allocations: 108.2 kB / 386.1 MB, free: 36.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2473, allocations: 44.91 kB / 386.2 MB, free: 36.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.2482, allocations: 0.5882 MB / 386.7 MB, free: 36.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2484, allocations: 0.7482 MB / 387.5 MB, free: 35.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.2485, allocations: 23.38 kB / 387.5 MB, free: 35.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2485, allocations: 0 / 387.5 MB, free: 35.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003728/0.2522, allocations: 2.901 MB / 390.4 MB, free: 32.47 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches