Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 162.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.08 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09858, allocations: 53.35 MB / 378.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004304/0.1029, allocations: 2.694 MB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1044, allocations: 0.7207 MB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1045, allocations: 4 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1047, allocations: 47.5 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1049, allocations: 103.2 kB / 382.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1053, allocations: 115.8 kB / 382.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.1058, allocations: 394.5 kB / 383 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.106, allocations: 87.62 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.1064, allocations: 159.4 kB / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1066, allocations: 151.2 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.1067, allocations: 40 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.1067, allocations: 36 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1069, allocations: 79.69 kB / 383.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.107, allocations: 135.4 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.1076, allocations: 422.4 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1076, allocations: 0 / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1076, allocations: 4 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1076, allocations: 4 kB / 384.1 MB, free: 10.41 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001411/0.109, allocations: 0.5935 MB / 384.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.109, allocations: 8.031 kB / 384.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.1091, allocations: 36.75 kB / 384.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.1095, allocations: 238.9 kB / 385 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1096, allocations: 20.88 kB / 385 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.1096, allocations: 24.38 kB / 385 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.1104, allocations: 340.7 kB / 385.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1104, allocations: 8 kB / 385.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1104, allocations: 4 kB / 385.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1104, allocations: 12 kB / 385.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.1113, allocations: 273.8 kB / 385.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1131, allocations: 0.9493 MB / 386.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.1141, allocations: 234.6 kB / 386.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.1144, allocations: 96.78 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1144, allocations: 4 kB / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.1149, allocations: 202.6 kB / 387.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.1149, allocations: 0 / 387.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001135/0.1161, allocations: 309.3 kB / 387.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.1162, allocations: 89.09 kB / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1165, allocations: 253.8 kB / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1165, allocations: 33.7 kB / 387.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1167, allocations: 204 kB / 388 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1167, allocations: 35.69 kB / 388 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.1168, allocations: 53.66 kB / 388.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1169, allocations: 338.8 kB / 388.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.1173, allocations: 133.8 kB / 388.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.1178, allocations: 244.5 kB / 388.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.1186, allocations: 307.8 kB / 389.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1186, allocations: 4 kB / 389.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001082/0.1197, allocations: 392.4 kB / 389.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.1197, allocations: 37.64 kB / 389.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1197, allocations: 4 kB / 389.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1197, allocations: 4.344 kB / 389.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.12, allocations: 67.95 kB / 389.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.12, allocations: 11.92 kB / 389.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.1203, allocations: 43.86 kB / 389.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1204, allocations: 8 kB / 389.6 MB, free: 4.516 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.0001671/0.1205, allocations: 156.8 kB / 389.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1206, allocations: 27.84 kB / 389.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.1206, allocations: 21.78 kB / 389.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1206, allocations: 0 / 389.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1206, allocations: 0 / 389.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1207, allocations: 3.984 kB / 389.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.1209, allocations: 217.1 kB / 390 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1209, allocations: 0 / 390 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1211, allocations: 43.95 kB / 390.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1212, allocations: 4 kB / 390.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1212, allocations: 0 / 390.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1212, allocations: 0 / 390.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1212, allocations: 0 / 390.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1223, allocations: 381 kB / 390.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1224, allocations: 23.81 kB / 390.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1224, allocations: 12 kB / 390.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1226, allocations: 23.97 kB / 390.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1227, allocations: 15.97 kB / 390.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1227, allocations: 8.062 kB / 390.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1229, allocations: 181.2 kB / 390.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1229, allocations: 0 / 390.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.1233, allocations: 75.83 kB / 390.8 MB, free: 3.285 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.0001295/0.1234, allocations: 95.25 kB / 390.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.1243, allocations: 332.7 kB / 391.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1243, allocations: 0 / 391.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.1246, allocations: 100.6 kB / 391.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1249, allocations: 43.22 kB / 391.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1261, allocations: 0.5292 MB / 391.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.1263, allocations: 146.9 kB / 392 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1264, allocations: 22.3 kB / 392.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1264, allocations: 24.48 kB / 392.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1264, allocations: 0 / 392.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Templates: time 0.007652/0.1341, allocations: 3.12 MB / 395.2 MB, free: 14.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.303368735010736]