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.0018/0.0018, allocations: 69.64 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.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.002122/0.002122, allocations: 155.2 kB / 24.49 MB, free: 3.875 MB / 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.46/1.46, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.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.001632/0.001632, allocations: 47.67 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09518, allocations: 52.16 MB / 371.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004423/0.0996, allocations: 2.681 MB / 374.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1012, allocations: 0.7012 MB / 375 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.1014, allocations: 4 kB / 375 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1016, allocations: 51.52 kB / 375 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1019, allocations: 99.23 kB / 375.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1023, allocations: 115.8 kB / 375.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.1028, allocations: 390.5 kB / 375.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1031, allocations: 83.61 kB / 375.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1033, allocations: 159.4 kB / 375.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1036, allocations: 135.3 kB / 376 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.1037, allocations: 47.94 kB / 376 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.1037, allocations: 36 kB / 376.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.1038, allocations: 79.73 kB / 376.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.104, allocations: 135.4 kB / 376.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.1045, allocations: 426.4 kB / 376.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1045, allocations: 3.938 kB / 376.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1045, allocations: 0 / 376.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1045, allocations: 0 / 376.7 MB, free: 2.176 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.001439/0.1059, allocations: 0.5897 MB / 377.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1059, allocations: 8.031 kB / 377.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.106, allocations: 40.69 kB / 377.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.1065, allocations: 223.1 kB / 377.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1065, allocations: 24.88 kB / 377.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.1066, allocations: 24.38 kB / 377.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.1073, allocations: 348.6 kB / 377.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1073, allocations: 0 / 377.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1074, allocations: 8 kB / 378 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1074, allocations: 8 kB / 378 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.1082, allocations: 269.8 kB / 378.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1101, allocations: 0.9492 MB / 379.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/0.1111, allocations: 242.5 kB / 379.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.1115, allocations: 104.8 kB / 379.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1115, allocations: 0 / 379.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.112, allocations: 190.7 kB / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.112, allocations: 0 / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001161/0.1132, allocations: 325.2 kB / 380 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.1132, allocations: 85.05 kB / 380.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1135, allocations: 261.8 kB / 380.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1136, allocations: 25.7 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1137, allocations: 200 kB / 380.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1138, allocations: 47.64 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.1139, allocations: 45.7 kB / 380.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.114, allocations: 330.8 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.1144, allocations: 133.8 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1149, allocations: 250.9 kB / 381.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.1158, allocations: 299.8 kB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1158, allocations: 0 / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009992/0.1168, allocations: 391.7 kB / 382 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.1168, allocations: 41.69 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1168, allocations: 3.938 kB / 382.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.1168, allocations: 4 kB / 382.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.1171, allocations: 63.89 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.1172, allocations: 4.062 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.1175, allocations: 59.73 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.1175, allocations: 15.94 kB / 382.2 MB, free: 12.28 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.0001621/0.1177, allocations: 145.7 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1177, allocations: 23.86 kB / 382.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.1178, allocations: 29.69 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1178, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1178, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1178, allocations: 8 kB / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.1181, allocations: 213.1 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1181, allocations: 0 / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1184, allocations: 43.95 kB / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1184, allocations: 0 / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1184, allocations: 8 kB / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1184, allocations: 0 / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1184, allocations: 0 / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1195, allocations: 377 kB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1196, allocations: 31.89 kB / 383.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1196, allocations: 0 / 383.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1199, allocations: 31.95 kB / 383.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.12, allocations: 19.97 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.12, allocations: 4 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1202, allocations: 181.2 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1202, allocations: 0 / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003286/0.1205, allocations: 63.89 kB / 383.4 MB, free: 11.06 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.0001344/0.1206, allocations: 111.1 kB / 383.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.1215, allocations: 313.1 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1215, allocations: 0 / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.1219, allocations: 99.86 kB / 383.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1222, allocations: 48.84 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1235, allocations: 0.5256 MB / 384.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.1237, allocations: 142.9 kB / 384.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.1239, allocations: 22.28 kB / 384.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.1239, allocations: 24.5 kB / 384.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1239, allocations: 0 / 384.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Templates: time 0.007993/0.1319, allocations: 3.102 MB / 387.8 MB, free: 6.68 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 -s ida -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/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_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.4481645139167085]