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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001668/0.001668, allocations: 160.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 177.1 MB / 204.7 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 61.91 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004236/0.1203, allocations: 2.717 MB / 381.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1216, allocations: 0.6857 MB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1217, allocations: 4 kB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1219, allocations: 47.5 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1222, allocations: 111.2 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1225, allocations: 99.78 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1229, allocations: 386.5 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1231, allocations: 87.59 kB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1234, allocations: 159.4 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1237, allocations: 147.2 kB / 383.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.1237, allocations: 40 kB / 383.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.1238, allocations: 40 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1239, allocations: 83.69 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1241, allocations: 139.4 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.1246, allocations: 442.3 kB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1246, allocations: 0 / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1246, allocations: 0 / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1246, allocations: 0 / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0013/0.1259, allocations: 0.578 MB / 384.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1259, allocations: 15.98 kB / 384.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.126, allocations: 36.7 kB / 384.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.1265, allocations: 237.8 kB / 384.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1265, allocations: 24.81 kB / 385 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.1266, allocations: 24.38 kB / 385 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.1272, allocations: 331.7 kB / 385.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1272, allocations: 3.984 kB / 385.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1273, allocations: 12 kB / 385.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1273, allocations: 7.938 kB / 385.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.128, allocations: 249.8 kB / 385.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1296, allocations: 0.8897 MB / 386.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.1304, allocations: 214.6 kB / 386.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1306, allocations: 84.8 kB / 386.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1306, allocations: 4 kB / 386.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.1311, allocations: 217.2 kB / 387 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.1311, allocations: 4 kB / 387 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008917/0.132, allocations: 289.2 kB / 387.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.1321, allocations: 102.8 kB / 387.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1324, allocations: 257.9 kB / 387.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1324, allocations: 29.7 kB / 387.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1326, allocations: 208 kB / 387.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.1326, allocations: 55.56 kB / 387.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.1327, allocations: 49.94 kB / 388 MB, free: 6.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1329, allocations: 334.8 kB / 388.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1332, allocations: 117.9 kB / 388.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.1336, allocations: 256.7 kB / 388.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.1342, allocations: 286 kB / 388.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1342, allocations: 4 kB / 388.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007495/0.1349, allocations: 364.8 kB / 389.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.1349, allocations: 40.66 kB / 389.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.135, allocations: 4 kB / 389.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.135, allocations: 8 kB / 389.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.1352, allocations: 59.89 kB / 389.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1352, allocations: 4 kB / 389.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1355, allocations: 43.81 kB / 389.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.1355, allocations: 19.97 kB / 389.5 MB, free: 4.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001487/0.1357, allocations: 153.7 kB / 389.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1357, allocations: 23.86 kB / 389.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1358, allocations: 25.77 kB / 389.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1358, allocations: 0 / 389.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1358, allocations: 0 / 389.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1358, allocations: 7.984 kB / 389.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.136, allocations: 213.2 kB / 389.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.136, allocations: 0 / 389.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.1363, allocations: 43.95 kB / 389.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1363, allocations: 0 / 389.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1363, allocations: 4 kB / 389.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1363, allocations: 7.938 kB / 389.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1363, allocations: 0 / 389.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.1372, allocations: 347.9 kB / 390.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1372, allocations: 27.81 kB / 390.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1373, allocations: 8 kB / 390.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1375, allocations: 23.97 kB / 390.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.1375, allocations: 23.95 kB / 390.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1375, allocations: 4 kB / 390.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1377, allocations: 181.2 kB / 390.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1377, allocations: 0 / 390.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.138, allocations: 75.91 kB / 390.6 MB, free: 3.375 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0001228/0.1381, allocations: 107.2 kB / 390.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.1388, allocations: 293.3 kB / 391 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1388, allocations: 0 / 391 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1391, allocations: 95.94 kB / 391.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1394, allocations: 52.28 kB / 391.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.141, allocations: 0.5763 MB / 391.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.1411, allocations: 146.8 kB / 391.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1412, allocations: 30.28 kB / 391.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.1413, allocations: 24.5 kB / 391.9 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1413, allocations: 0 / 391.9 MB, free: 2 MB / 350.1 MB Notification: Performance of Templates: time 0.007608/0.1489, allocations: 3.359 MB / 395.3 MB, free: 14.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.488071889965795]